all are saying java doesn't support multiple inheritance but
by default Object class is super class for all the user
defined classes and we can extend atmost one class so each
class can extend more than one class so java supports
multiple inheritance?i am confused with this,pls any one
explain me.

Answer Posted / ravi

Java does not support multiple inheritence but supports,
Multi level inheritence.
In your question what you r saying is multi level
inheritence.

Is This Answer Correct ?    21 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is finalize method?

567


How do you remove all elements from an arraylist in java?

497


What is skeleton and stub?

585


When do we use synchronized blocks and advantages of using synchronized blocks?

655


What is better - 'bit-shift a value' or 'multiply by 2'?

688






What are the files generated after using IDL to java compiler?

578


What java is used for?

652


What is the preferred size of a component in java programming?

535


What is the difference between throw and throws in java?

548


What is class array in java?

499


Can we sort hashset in java?

615


How do you check if an arraylist is not empty?

569


what is the purpose of the runtime class?

547


What is difference between adapter class and listener?

489


Why java is considered dynamic?

745