Computer Science, asked by gauritingre8007, 11 months ago

differentiate between object and class

Answers

Answered by Amanpayal
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 Anonymous
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