wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Parent class? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Parent class?" Watch "Parent class?" New topic

Parent class?

Ransika deSilva
Ranch Hand

Joined: Feb 18, 2003
Posts: 524
Hello world,
I writting a program which has a public class and in that class I have several calls to other non public classes which are in the same package. I just wanted to know for those non public class do they have to have a parent class. I really don't understand what is a parent class and what it is used for.

SCJP 1.4, SCMAD 1.0<br />SCWCD, SCBCD (in progress)
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8904

java.lang.Object is the superclass of all java classes.

It is sorta covered in the JavaRanch Style Guide.
subject: Parent class?
Similar Threads
how makeChild classes as Non Serializable if parent class is Serializable in java ?
Inheritance of private method ?
confused in overriding question
Extending a class with private constructor
Interview Questions