What can you say about the following Java class?
public class My App extends Shape, Colour
My App will contain methods from both the Shape and Colour classes.
My App will not compile because multiple inheritance is illegal in Java.
My App inherits from Shape and implements the Colour interface.
My App is allowed to implement both the Shape and Colour interface.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here