how does class acts as a blueprint for an object
Answers
Answered by
4
Explanation:
Definition: A class is a blueprint that defines the variables and the methods common to all objects of a certain kind. ... When you create an instance of a class, the system allocates enough memory for the object and all its instance variables.
Answered by
0
Answer:
A software blueprint for objects is called a class . Definition: A class is a blueprint that defines the variables and the methods common to all objects of a certain kind.A blueprint created by a programmer for an object. This defines a set of attributes that will characterize any object that is instantiated from this class. Object — An instance of a class. This is the realized version of the class, where the class is manifested in the program
Similar questions