what is a class ?how is it created? explain with example
Answers
Answered by
4
Answer:
A class is a blueprint/factory/instance of objects.
Explanation:
Eg: for creating a class of vehicles and adding an object car to it the syntax is:-
vehicle Car;
Attachments:
Similar questions