✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Consider the following code snippet:
public class Employee
{
. . .
public void setDepartment(String deptName)
{
. . .
}
}
public class Programmer extends Employee
{
. . .
public void setProjectName(String projName)
{
. . .
}
public void setDepartment(String deptName)
{
. . .
}
}
Which of the following statements is NOT correct?
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!