why java does not support multiple inheritance

Answer Posted / velmurugan.p

basically java does not support multiple inheritance because
java extend only one class so we use interface in multiple
inheritance to define more than one class to avoid ambiguity.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name few "optional" classes introduced with java 8 ?

651


What is the difference between == and === javascript?

577


What is the char data type?

527


How you can force the garbage collection?

540


What is pre increment and post increment in java?

505






Explain the JDB in depth & command line.

573


What is arrays sort in java?

576


How do you use wildcards?

538


What is a key in java?

505


What is the synchronized method modifier?

596


Is singleton class immutable?

540


Why Java is not pure Object Oriented language?

649


How many ways can you break a singleton class in java?

490


What is Mutex (Mutual Exclusion Object) ?

629


Does java support function overloading, pointers, structures, unions or linked lists?

607