Method Overloading and Method Overriding

Casual Mode - Take your time!

1 / 13
Correct
0
Incorrect
0
Score
0%
Multiple Choice

Which of the following statements is/are correct for static method in Java?

A. Static methods are always public.
B. Static method cannot access directly non-static method of the same class.

  1. Only A
  2. Only B
  3. Both A and B
  4. Neither A nor B
Change Mode