Q. Choose the correct statement. Restriction on static methods are: I. They can only call other static methods.
II. They must only access static data.
III. They cannot refer this or super in any way.

  • (A) Only (I)
  • (B) (I) and (II)
  • (C) (II) and (III)
  • (D) (I), (II) and (III)
πŸ’¬ Discuss
βœ… Correct Answer: (D) (I), (II) and (III)

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
119
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Kiran Rapria
Publisher
πŸ“ˆ
81%
Success Rate