Question: Language is Java. Any help is appreciated, thank you. Assume that Employee has been defined as a class in a Java program. Consider the declaration
Language is Java. Any help is appreciated, thank you.
Assume that Employee has been defined as a class in a Java program. Consider the declaration "Employee emp;". Does emp point to an Employee object? [yes or no]:
QUESTION 2:
Does emp refer to an Employee object? [yes or no]:
QUESTION 3:
Is emp of type pointer to Employee object? [yes or no]:
QUESTION 4:
Does emp contain an Employee object? [yes or no]:
QUESTION 5:
Can emp later be assigned an Employee object? [yes or no]:
QUESTION 6:
Is emp of type reference-to-Employee? [yes or no]:
QUESTION 7:
Can emp later refer to an -Employee? [yes or no]:
QUESTION 8:
Can emp later point to an -Employee? [yes or no]:
QUESTION 9:
Is emp of type Employee? [yes or no]:
QUESTION 10:
Is emp a class? [yes or no]:
QUESTION 11:
Is emp an object? [yes or no]:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
