πŸ“Š JAVA
Q. Can method references refer to overloaded methods?
  • (A) Yes, if the context determines the correct method
  • (B) No, overloading is not supported
  • (C) Only if methods differ in return type
  • (D) Only for static methods
πŸ’¬ Discuss
βœ… Correct Answer: (A) Yes, if the context determines the correct method

Explanation: Overloaded methods can be referenced if the functional interface signature resolves to the correct method.

Explanation by: Mr. Dubey
Overloaded methods can be referenced if the functional interface signature resolves to the correct method.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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