differentiate between object and class
Answers
Answered by
4
Explanation:
A class is a template for objects. ... An object is a member or an "instance" of a class. An object has a state in which all of its properties have values that you either explicitly define or that are defined by default settings.
Answered by
8
Explanation:
A class is a blueprint from which you can create the instance, i.e., objects. An object is the instance of the class, which helps programmers to use variables and methods from inside the class. A class is used to bind data as well as methods together as a single unit. Object acts like a variable of the class.
HOPE IT HELPS UH ❤
Similar questions
Business Studies,
5 months ago
Computer Science,
5 months ago
Economy,
11 months ago
English,
11 months ago
Math,
1 year ago