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

Answer Posted / kumar

Actuly in above it is the case of multilevel inheritance.and obj clas is super class which is extended by other classes tht is tree structure i.e 1 - * form . Multiple inheritance is wher 1 class is having 2 or more base class at same time ie *-1. So it is not multiple it is hiricle inheritnce.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can you take care of mutual exclusion using java threads? : Java thread

608


What is mvc in java?

558


What is treeset in java collection?

525


Is array passed by reference in java?

582


Why null value is used in string?

530






What is api in java?

539


How is final different from finally and finalize?

496


What is parameter example?

545


Can we make main() thread as daemon?

578


What is ascii code?

643


What are three types of loops in java?

589


What is run time allocation?

579


Is string a wrapper class?

518


What is meant by interface?

565


what do you mean by java annotations?

550