Friday, May 22, 2009

Some Points About Java Classes

Some bullet points with information from the Sun Java tutorial site:

* Superclasses can contain an unlimted number of subclasses.
From: What is Inheritance
* A subclass can have only one superclass.
From: What is Inheritance

* Objects and methods are created within classes.
From: What is a class?
* A superclass can act as a blueprint within which objects are declared and initialized and then used by methods. The methods are named with an action word which begins with a small letter and is followed by one of the declared objects which starts with a capital letter. No space in between the words. When a class functions just like a blueprint it does not contain a main method.
From: What is a class?

Labels:

0 Comments:

Post a Comment

<< Home