Q. Method references require the functional interface to match in:

  • (A) Return type only
  • (B) Parameter list and return type
  • (C) Parameter names only
  • (D) Return type only, parameters optional
πŸ’¬ Discuss
βœ… Correct Answer: (B) Parameter list and return type
Explanation: The method signature must match both the parameters and return type of the functional interface method.
Explanation by: Mr. Dubey
The method signature must match both the parameters and return type of the functional interface method.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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