Whic is the base class in java, and how it be will the base class

Questions by shidramappa

Showing Answers 1 - 4 of 4 Answers

sofeen

  • Dec 10th, 2006
 

object class is the base class

  Was this answer useful?  Yes

icon_rajiv

  • Dec 26th, 2006
 

which :- java.lang.Object is the base class  in java.

How:- Its been  extended by all classes. This class's methods  are available to all classes. and this class doesnt extend any other class.

  Was this answer useful?  Yes

abhijith

  • Dec 28th, 2006
 

For a class whichever class you extend becomes its base class..For eg:class SubClass extends BaseClass{}If your class doesn't explicitly "extends" any class then JVM makes Object class as the base class for your class. Needless to say that, ultimately JVM considers Object class as the ultimate super class for all classes.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions