Multiple choice

Which of the following is true regarding the following statement in Java? student.result(marks);

  1. student is the name of a structure.

  2. result is the name of a method.

  3. result is a form of a datatype.

  4. student is the name of a method.

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Here, student may be a class or an object but result is the method.