taking the example of student in a particular grade in a school so how object and classes are different
Answers
Answered by
3
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.
Similar questions
Hindi,
5 months ago
Accountancy,
5 months ago
Math,
5 months ago
English,
9 months ago
Political Science,
9 months ago
English,
1 year ago
Math,
1 year ago