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...


What is multiple inheritance & can we implement it in java?

Answers were Sorted based on User's Feedback



What is multiple inheritance & can we implement it in java?..

Answer / lavanya

Java Does Support Multiple inheritance through the usage of
intrface concept. multiple inheritence is one class
acquiring the features of more than one class.

Java can extend one class but can implement more than one
interface.

intreface is a class whose methods are declared but
functionality not defined. The implementing class has to
define that functionality.

Through the use of interfaces we can avoid the confusion of
which class to use in case two extended classes have same method

Is This Answer Correct ?    13 Yes 2 No

What is multiple inheritance & can we implement it in java?..

Answer / arnab

When a particular class has properties of more than one
class it is called multiple inheritance.
Since c++ like implementation of multiple inheritance programs
is difficult, and adds complexity to the language, java
provides an alternative approach to support the concept of
multiple inheritance.

Is This Answer Correct ?    4 Yes 1 No

What is multiple inheritance & can we implement it in java?..

Answer / madhan kumar.s

multiple inheritance means more base class to one derived
class.java does not support multiple inheritance

Is This Answer Correct ?    0 Yes 0 No

What is multiple inheritance & can we implement it in java?..

Answer / siva

Multiple inheritance means it have more than one base class
and one derived..
but multiple inheritance does not support multiple
inheritance......
We r implementing multiple inheritance with the help of
interface...
and we not able to create object for interface class
directly but we can create indirectly

Is This Answer Correct ?    0 Yes 0 No

What is multiple inheritance & can we implement it in java?..

Answer / arnab

When a particular class has properties of more than one
class it is called multiple inheritance.
Since c++ like implementation of multiple inheritance programs
is difficult, and adds complexity to the language, java
provides an alternative approach known as interface to
support the concept of multiple inheritance.

Is This Answer Correct ?    0 Yes 1 No

What is multiple inheritance & can we implement it in java?..

Answer / jyoti

multiple inheritance means for onr sub class there are more
than one base class.
that means derive class inherits from more than one class
simultaneaously.

no java does not support multiple inheitance.

Is This Answer Correct ?    2 Yes 5 No

Post New Answer

More Core Java Interview Questions

Is null == null in java?

0 Answers  


What are static blocks and static initalizers in java ?

0 Answers  


Explain what is Marker interface?

0 Answers   BirlaSoft,


Explain access specifiers?

0 Answers   Thomson Reuters, Virtusa,


C and C++ has constructors and distructors, why does Java does not have distructors?

1 Answers   T3 Softwares,


What is an iterator interface in java programming?

0 Answers  


What is the best way to findout the time/memory consuming process?

0 Answers  


What does || mean in vectors?

0 Answers  


What do you mean by global variable?

0 Answers  


what is request processor?

1 Answers   Virtusa,


Why is String immutable?

0 Answers   Atos Origin,


State differences between C and Java?

0 Answers   Deloitte, JPMorgan Chase,


Categories