A

Admin • 833.24K Points
Coach

Q. Methods declared as static have several restrictions:~~~1) 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 2.
  • (B) 1 and 3.
  • (C) 2 and 3.
  • (D) 1, 2 and 3.
  • Correct Answer - Option(D)
  • Views: 34
  • Filed under category Java
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.