Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Dale Matthews   on Oct 10 In Java Category.

  
Question Answered By: Becky Baker   on Oct 10

1) java  doesnot support  multiple inhertiance directly but it supports indirectly
by the concepts called "interface". basically in c++ which supports multiple
inheritance and a class  can inherit from many superclass. but by doing so there
was many problem arised such as which is the base class for an given class. So
to avoid these kind of problems java didnot support multiple  inheritance
directly.
2) the class is the basic of java. So as for as i knew without a class u cannot
write a java program. ur question is like driving a car without wheels.

Share: 

 

This Question has 3 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on why java wont support multiple inheritance Or get search suggestion and latest updates.


Tagged: