Q. Which form of method reference is used to refer to an instance method of an existing object?

  • (A) ClassName::methodName
  • (B) object::methodName
  • (C) ClassName::new
  • (D) ClassName::staticMethod
πŸ’¬ Discuss
βœ… Correct Answer: (B) object::methodName
Explanation: The syntax `object::methodName` refers to an instance method of an existing object.
Explanation by: Mr. Dubey
The syntax `object::methodName` refers to an instance method of an existing object.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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