πŸ“Š JAVA
Q. Which functional interface is used with `Supplier<Employee> supplier = Employee::new;`?
  • (A) Supplier
  • (B) Function
  • (C) Consumer
  • (D) Predicate
πŸ’¬ Discuss
βœ… Correct Answer: (A) Supplier

Explanation: Supplier represents a no-argument constructor reference.

Explanation by: Mr. Dubey
Supplier represents a no-argument constructor reference.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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