| 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: 14670
|
|
|
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?
|
 |
 |
|
|
subject: Object class
|
|
|