Multiple Inheritance Blog Posts

Multiple inheritance in Java using interface

Multiple inheritance in Java using interface:
If a class implements multiple interfaces, or an interface extends multiple interfaces, it is known as multiple inheritance.
Example for Multiple Inheritance using Interface:
//Print.java
interface Prints
{
void print();

0 Likes 1197 Views