## Class is a collection of objects of similar type. Objects are variables of the type class. Once a class is defined, we can create any number of objects belonging to that class.
Example: grapes,bananas and orange are the member of class fruit.
N.B: Classes are user define data types.
No comments:
Post a Comment