✅ 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 Vehicle
{
. . .
public void setVehicleClass(double numberAxles)
{
. . .
}
}
public class Motorcycle extends Vehicle
{
. . .
public void setModelName(String model)
{
. . .
}
public void setVehicleClass(double numberAxles)
{
. . .
}
}
Which of the following statements is NOT correct?
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!