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.
Reveal answer
Fill a bubble to check yourself
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.