Monday, August 31, 2009

CONSTRUCTOR -> is a method that has the same name as the class name, used to initialize the fields in the object, do not return a value, not even using the void, can be 'overloaded Constructros' (constructor that can initialize another object of the 1 way).
The example constructor program

image below is a continuation of the above programs. If you want to see the picture more details, please click on the image to the two

It is the pattern of existing constructors in java programs. This is only a small part of other programs.

0 comments:

Post a Comment

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Macys Printable Coupons