A method for an object-oriented class called Student could be: 4. printGrades.
<h3>What is a class?</h3>
In object-oriented programming (OOP) language, a class can be defined as a user-defined blueprint (prototype) or template that is typically used by programmers (software developers) to create objects and define the data types, categories, and methods that should be associated with these objects.
Additionally, an object class In object-oriented programming (OOP) language represents the superclass of every other classes when a programming language such as Java is used.
In conclusion, printGrades could be a method for an object-oriented class called Student.
Read more on object-oriented class here: brainly.com/question/20264183