how can be object class inherited to all class in a program
when java does not support multiple inheritance??

Answer Posted / ashok yadav

A class always extends only one class. That is the Object
class or the class defined with the extends keyword. That
class in turn can extend also only one class until eventual
the Object class is reached.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the static block?

585


What is application tier?

532


Explain tree set and its features?

599


What is callable java?

556


Can a private method of a superclass be declared within a subclass?

530






What is jee6?

538


How many digits can a float hold?

537


Can main() method in java can return any data?

646


What is a conditional statement explain with example?

543


What is heterogeneous in java?

495


What does arrays sort do in java?

541


What is the use of :: in java?

570


What does @override mean?

533


Why do we need hashset in java?

502


How can a gui component handle its own events?

597