πŸ“Š JAVA
Q. What is the syntax for a method reference to the current instance's method?
  • (A) ClassName::method
  • (B) this::method
  • (C) super::method
  • (D) new::method
πŸ’¬ Discuss
βœ… Correct Answer: (B) this::method

Explanation: `this::method` refers to a current instance method.

Explanation by: Mr. Dubey
`this::method` refers to a current instance method.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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