There are three interfaces A,B & C. A extends B, B extends C,
and C extends A.Is it multiple Inheritance? please anybody
help me.....

Answers were Sorted based on User's Feedback



There are three interfaces A,B & C. A extends B, B extends C, and C extends A.Is it multiple I..

Answer / sudheer

this is called cyclic inheritance....
if u compile A.java then only you will get an error message saying that "cyclic inheritance involving on A"...
so it is not possible...

Is This Answer Correct ?    13 Yes 1 No

There are three interfaces A,B & C. A extends B, B extends C, and C extends A.Is it multiple I..

Answer / sadikhasan palsaniya

There is Cyclic inheritance which is not possible in java.

interface A{}
interface B extends A{}
interface C extends A{}
interface D extends B,C{}

It's call Multiple inheritance.

Is This Answer Correct ?    3 Yes 0 No

There are three interfaces A,B & C. A extends B, B extends C, and C extends A.Is it multiple I..

Answer / madhu

in java there is no multiple inheritance.so it is called as multi level inheritance.it comes under that.so i hope it is not multiple inheritance.there is only one inheritance single level inheritance.

Is This Answer Correct ?    2 Yes 2 No

There are three interfaces A,B & C. A extends B, B extends C, and C extends A.Is it multiple I..

Answer / pratima

This is not multiple inheritance ,this is multilevel inheritance.
But if you have three interface suppose A,B,C
then you can implement like wise and achieve multiple inheritance.
A extends B,C

Is This Answer Correct ?    0 Yes 0 No

There are three interfaces A,B & C. A extends B, B extends C, and C extends A.Is it multiple I..

Answer / mahesh

No it is Not Multiple inheritance .It is Hirearchy inheritance

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More Core Java Interview Questions

In a my eclipse editor if i want to switch from jdk 1.4 to jdk 1.6 how to do that???? Initially i have jdk1.4

1 Answers   Tech Mahindra,


What if static is removed from main method?

0 Answers  


Can we create a class inside a class in java?

0 Answers  


What is skeleton and stub? What is the purpose of those?

0 Answers  


What is google full form?

0 Answers  


What is boolean used for?

0 Answers  


How do you sort an array in java?

0 Answers  


what is a transient variable?

5 Answers  


what is difference between perfom() & excute() ?

2 Answers   IBM,


can we access the method of class without creating the object of the class

3 Answers  


how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion

2 Answers   SAP Labs,


IS method overriding is Duplication of Methods?

5 Answers   CybAge,


Categories