Which of the following is true about a method that has this declaration?

public Employee getDepartmentManager(){...}

Group of answer choices:

a. It's located in the Employee class.
b. It uses an Employee object as a parameter.
c. It's only accessible within its class.
d. It returns an object of the Employee class.



Answer :

Other Questions