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
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 |
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 |
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 |
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 |
Answer / mahesh
No it is Not Multiple inheritance .It is Hirearchy inheritance
| Is This Answer Correct ? | 1 Yes | 4 No |
Difference between Web-based applications,Client- Server applications and Distributed applications?
What do you mean by ternary operator in java?
what is the difference between java and j2ee... is that can i work j2ee on net beans IDE 6.0
What is casting?
can used Protected Class outside Function.?
Explain the importance of finally block in java?
Write a function for palindrome and factorial and explain?
0 Answers Honeywell, Huawei, Zomato,
When throws keyword is used?
Say any two properties in beans?
What are the approaches that you will follow for making a program very efficient?
What is the epoch date?
Tell me how many ways are there to initialise an integer with a constant.