Computer Science, asked by cthakre033, 3 months ago

What are classes and object

Answers

Answered by shanya94
1

Answer:

A class is a collection of objects and an object is a part of class. for example: Fruits is a class and apple ,guava ,grapes are objects of class Fruits.

Answered by AkashPunjabi12
0

Explanation:

object- An object is an instance of a class.

Class − A class can be defined as a template/blueprint that describes the behavior/state that the object of its type support.

Similar questions