Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

What is structure of java heap? What is perm gen space in heap?

0 Answers  


how would you implement a thread pool? : Java thread

0 Answers  


Can you override a final method?

0 Answers  


What is the difference between Java and C++?

0 Answers   Integreon, TCS, ZS Associates,


Differentiate between stringbuffer and stringbuilder in java.

0 Answers  


What are inner and anonymous class?

3 Answers  


What is the multilevel inheritance. and also give the Example of it ?

5 Answers  


Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.

0 Answers   Rolta,


Explain oops concepts in detail?

0 Answers  


What is basic concept of static in java ?

1 Answers   iGate,


This is related to threads. I have a class with synchronized method m1(). Can I create different instances of this class and execute the m1() for different threads?

3 Answers  


Consider that class classA, abstract class classB, and final classC have been defined.Which one of the following is correct? 1. classA extends classC implements classB 2. class A extends classB, classC 3. classA extends classB 4. classB implements classC

2 Answers  


Categories