October 11, 2010 at 1:21 PM
A class is a structure that defines the data and the methods to work on that data. When you write programs in the Java language, all program data is wrapped in a class, whether it is a class you write or a class you use from the Java platform API libraries.
Every class has at least one it's own constructort. Constructor creates a instance for the class.Constructor initiates (initialize) something related to the class's methods.Constructor is the method which name is same to the class.