πŸ“Š JAVA
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

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