Multiple choice

Which of the following is/are true statements?

  1. Overloading occurs in the same class.

  2. In method overriding, the return type of the method is different.

  3. Final methods can not be overridden.

  4. All of the above

  5. Only (1) and (3) are true statements.

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

Yes, both of these are true.