wood burning stoves 2.0*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Object class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Object class" Watch "Object class" New topic
Author

Object class

Madhavi Uddaraju
Greenhorn

Joined: Jan 31, 2006
Posts: 1
why object class is the super class why not others
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Why would you want other classes to be superclass ?


[My Blog]
All roads lead to JavaRanch
pramodh somashekara
Ranch Hand

Joined: Jan 30, 2006
Posts: 62
Object class is the class from which all other classes are derived hence it is the super class of all classes.
Seema Ahuja
Ranch Hand

Joined: Feb 01, 2006
Posts: 32
Java is a object oriented language...everything in java is an object. the entire langusge is based on the oops concepts..hence it seems logical to make object as parent class of all classes.

BTW? which class do u want to make as a parent class?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Object class
 
Similar Threads
anonymous class
object
abstract
why java's Object class not abstract ?
Interview q