как это дописать я не понял
Method “void check(Student s)” in
Yes.java works as following: it takes current student object as parameter by using keyword “this”; it increases yearOfStudy value in student by one. Maximum value of yearOfStudy is 4; also after that method should set creditCount to 0;
откула взять this