πŸ“Š JAVA
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.
πŸ’¬ Discuss
βœ… Correct Answer: (D) 1, 2 and 3.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
139
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
81%
Success Rate