GeekInterview.com
Series: Subject:
Question: 72 of 271

What are the types of Inheritance?

Asked by: pradeeppk | Member Since Sep-2005 | Asked on: Sep 23rd, 2005

View all questions by pradeeppk

Showing Answers 1 - 14 of 14 Answers
GOKILA

Answered On : Oct 25th, 2005

The answer is:

1, single inheritance

2,multiple inheritance

3,multilevel inheritance

4,hierarchial inheritance

Yes  3 Users have rated as useful.
  
Login to rate this answer.
venkatesh

Answered On : Nov 16th, 2005

Along with them hybrid inheritence is there

  
Login to rate this answer.
DEEPAK KUMAR MAHAPATRA(TCS KOCHI)

Answered On : Nov 22nd, 2006

Hi,

Types of inheritances are
1.Single inheritance
2.Multiple inheritances
3. Multi-path inheritance
4.Multi level inheritance
5.Virtual path inheritance
6.Hierarchical inheritance
7.Hybrid inheritance

With regards
Deepak Kumar Mahapatra(tcs kochi)

Yes  1 User has rated as useful.
  
Login to rate this answer.
Sunil Arora(Theikos (India))

Answered On : Sep 27th, 2007

Basically  Java supports only four types of inheritance:
1) Single Inheritance
2) Multi Level Inheritance
3) Hierarchicval Inheritance
4) Hybrid Inheritance

We can take support for multiple inheritance also but with the help of Interface.

Yes  3 Users have rated as useful.
  
Login to rate this answer.
ameer123

Answered On : Nov 19th, 2008

View all answers by ameer123

Java supports four types of inheritance

1) Single Inheritance
2) Multi Level Inheritance
3) Hierarchical Inheritance
4) Hybrid Inheritance

Yes  2 Users have rated as useful.
  
Login to rate this answer.

There are five types of inheritance.

1. Single inheritance

2. Multilevel inheritance

3. Multiple inheritance

4. Hierarchical inheritance

5. Hybrid inheritance

Yes  2 Users have rated as useful.
  
Login to rate this answer.
anu11811

Answered On : Apr 29th, 2010

View all answers by anu11811

1) Single inhertance

2) Multiple inheritance
3) Multi level inheritance
4) Hybrid inheritance

  
Login to rate this answer.
unnam

Answered On : May 3rd, 2010

View all answers by unnam

1. Single Inheritence
2. Multi Inheritence
3. Multiple Inheritence
4. Hybrid Inheritence
5. Hierarcial  Inheritence

Yes  1 User has rated as useful.
  
Login to rate this answer.

Java supports only 

1. Single  
2. Hierarchal 
3. Multiple Level for classes 
and including above Multiple for interfaces.

  
Login to rate this answer.
swagatika

Answered On : Oct 11th, 2011

I have the class mall, using this what will be the inheritances?

  
Login to rate this answer.
shravan

Answered On : Jan 31st, 2012

There is only single Inheritence available in Java.

Multiple Inheritence is not available in Java because of following reasons..

1. It leads to confusion for the java program.
2. The programmer can achieve multiple inheritence by using interfaces.
3. The programmer can achieve multiple inheritence by repeatedly using single inheritence.

  
Login to rate this answer.
kavita

Answered On : Feb 23rd, 2012

There are four types of inheritance Single inheritance,Multiple level inheritance,Multi level inheritance,and Hybride inheritance

  
Login to rate this answer.
ruchika arora

Answered On : Feb 27th, 2012

View all answers by ruchika arora

There are 5 types of inheritance: -
1. Single inheritance
2. Multilevel inheritance
3. Multiple inheritance
4. Hierarchical inheritance
5. Hybrid inheritance

  
Login to rate this answer.
gowtham

Answered On : Feb 28th, 2012

Creating a new classes from exiting classes
5 type

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.