Saturday, November 7, 2009

OBJECT

OBJECT: This is the next important entity in programming. It is considered as the basic building block of object programming.
All the objects are created using the keyword ‘new’.


Syntax for creating a class is:


classname obj_name=new classname();

No comments:

Post a Comment