What XXXXXXXXXXcan you say about the following Java class? public XXXXXXXXXXclass My App extends Shape, Colour My XXXXXXXXXXApp will contain methods from both the Shape and Colour classes. My...


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.




May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here