Examlex

Solved

Consider the Following Code Snippet

question 99

Multiple Choice

Consider the following code snippet:
Public class Employee
{
) . .
Public void setEmployeeDept(String deptNum)
{
) . .
}
}
Public class Programmer extends Employee
{
) . .
Public void setEmployeeDept(int deptNum)
{
) . .
}
}
Which of the following statements is correct?


Definitions:

Related Questions