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 / bindu

i think one class defaultly have the features of Object
class bcoz it is parent to all classes.
so v r not directly extends the Object class.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is blank final variable?

565


Explain the difference between treeset and treemap in java?

530


Difference between notify() method and notifyall() method in java?

550


What classes of exceptions may be caught by a catch clause in java programming?

702


What are thread groups?

574






How can we make a class singleton?

574


What is <> used for in java?

669


What is the right data type to represent a price in java?

570


what is synchronization and why is it important? : Java thread

588


Is void a data type in java?

524


What is a void method?

517


Explain spliterator in java8?

599


What is a parameter in a function?

526


Why we use set in java?

516


How will you load a specific locale?

536