A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Programmer Certification (SCJP/OCPJP)
Joined: Jan 31, 2006
Jan 31, 2006 22:01:00
why object class is the super class why not others
Joined: Nov 24, 2005
Jan 31, 2006 22:07:00
Why would you want other classes to be superclass ?
All roads lead to JavaRanch
Joined: Jan 30, 2006
Jan 31, 2006 22:50:00
Object class is the class from which all other classes are derived hence it is the super class of all classes.
Joined: Feb 01, 2006
Feb 01, 2006 04:29:00
Java is a object oriented language...everything in
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?
It is sorta covered in the
JavaRanch Style Guide
subject: Object class
why java's Object class not abstract ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013