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 / biswajit singh

I completely agree with Amit Singh. Excellent example.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is java autoboxing?

528


What is java abstraction with example?

545


Can we have multiple classes in single file ?

588


What is the difference between JDBC 1.0 and JDBC 2.0?

2693


What is a Transient Object?

623






Is list thread safe in java?

480


Tell me the latest versions in java related areas?

574


Does a class inherit the constructors of its superclass in java programming?

512


What is the difference between compile-time polymorphism and runtime polymorphism?

555


Can we have 2 main methods in java class?

531


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

477


How do you use compareto method?

523


What is namespace in java?

530


Can I learn java in 3 months?

528


what is heap memory?

649