Multiple Inheritance - Online Code

Description

best example for multiple inheritance

Source Code

interface t1 extends mt,mj         //this is called multiple inheritance 
{
	void display();
}
interface mt
{
	void show();
}
interface mj
{
	void x();
}
public class Third implements t1
{
public void show()
{
... (login or register to view full code)

To view full code, you must Login or Register, its FREE.

Hey, registering yourself just takes less than a minute and opens up a whole new GetGyan experience.




Comments

No comment yet. Be the first to post a comment.