Wednesday, August 5, 2009

What is a Class ?


Class:
It defines characteristics of a thing and its behavior. It is blueprint based on which objects are created.
Example: Employee (which will have all the details about the employee like name, id, salary, etc and the methods which describes his behavior like calcSalary(),displaydetails(),etc.


www.codecollege.NET

No comments:

Post a Comment