Answers

Question and Answer:

  Home  Java Classes

⟩ Methods declared as static have several restrictions1) They can only call other static methods.2) They must only access static data.3) They cannot refer to this or super in any way Which of these are TRUE?A) 1 and 2B) 1 and 3C) 2 and 3D) 1, 2 and 3

Ans is :(c)

b'coz static methods can call static as well as non static methods.

 222 views

More Questions for you: