File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 8903

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

Don't get me started about those stupid light bulbs.
subject: Parent class?
Similar Threads
how makeChild classes as Non Serializable if parent class is Serializable in java ?
Inheritance of private method ?
Extending a class with private constructor
Interview Questions
confused in overriding question