What is Class

In object-oriented programming, a class is a construct that is used as a blueprint to create objects of that class. This blueprint describes the state and behavior that the objects of the class all share. An object of a given class is called an instance of the class. The class that contains instance can be considered as the type of that object, e.g. an object instance of the "Person" class would be of the type "Person".

No comments: