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.
- Only A
- Only B
- Both A and B
- Neither A nor B