Solved

Complete the Following Statement That Finds the Minimum Salary of Employees

Question 58

Multiple Choice

Complete the following statement that finds the minimum salary of employees who are Managers.Assume that employeeStream is a stream of Employee objects and the getSalary method returns the employee's salary as an integer.Also, assume the getTitle method returns a String representing the employee's title. Complete the following statement that finds the minimum salary of employees who are Managers.Assume that employeeStream is a stream of Employee objects and the getSalary method returns the employee's salary as an integer.Also, assume the getTitle method returns a String representing the employee's title.    A) OptionalInt B) int C) Optional<Integer> D) Integer


A) OptionalInt
B) int
C) Optional<Integer>
D) Integer

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions