Classes have been seen that are defined in this way: Java Code: class MyClass { // field, constructor, and // method declarations } This is what is known as the class declaration. All codes are present in class body which gives out for the objects that have been created by the class. Declaration is for sake of the fields that give the state of objects and class & also the methods for implementation of the behavior of objects and class. Constructors ...
class MyClass { // field, constructor, and // method declarations }
thanks...
sorry for all the questions
thanks...
06-14-2013, 02:22 PM in gbonecapone