Q. Which of the following is NOT a valid method reference form?

  • (A) ClassName::staticMethodName
  • (B) objectName::instanceMethodName
  • (C) ClassName::instanceMethodName
  • (D) ClassName::fieldName
πŸ’¬ Discuss
βœ… Correct Answer: (D) ClassName::fieldName
Explanation: Field references are not valid method references; only methods or constructors can be referenced.
Explanation by: Mr. Dubey
Field references are not valid method references; only methods or constructors can be referenced.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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