πŸ“Š JAVA
Q. What method reference could map Employee objects to their ages?
  • (A) Employee::getName
  • (B) Employee::getAge
  • (C) Employee::compareTo
  • (D) Employee::new
πŸ’¬ Discuss
βœ… Correct Answer: (B) Employee::getAge

Explanation: `Employee::getAge` retrieves the age property.

Explanation by: Mr. Dubey
`Employee::getAge` retrieves the age property.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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