However, Java does not support multiple inheritance.
To achieve multiple inheritance in Java, we must use the interface.
The example creates an interface named Backend and a class named Frontend .
The class Language extends the Frontend class and implements the Backend interface.
The Language class is inheriting the property of both Backend and Frontend .
|