Computer Science, asked by thakursi758, 7 months ago

what is an class?
give example​

Answers

Answered by Anonymous
13

Answer:

A class is a program construct which encapsulates data and operations on data. In object oriented programming, the class can be viewed as a blue print of an object. A specific employee with unique identification is an example of an object.

Answered by divyanshi2112
2

Answer:

class is a template or blueprint for multiple objects with similar features and may be regarded as a specification for creating similar objects.

Explanation:

example---- mobile is a class in which different models, colour,weight is attributes and dial number , taking pictures is its behaviour

Similar questions