Suppose B and D are as described in Self-Test Exercise 11. Is the following a
legitimate method that can appear in the definition of the class D?
public void demo2()
{
D object = new D();
object.doStuff();//doStuff is inherited from B.
}
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here