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

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