KnowledgeBoat Logo

Computer Applications

Explain the following statement — "Class is a specification for objects".

OOP Intro Java

67 Likes

Answer

As class describes the common attributes and behaviours of its objects in detail, hence we can say that a class is a specification for objects. It can be viewed as a template or blueprint for multiple objects with similar features.

Answered By

40 Likes


Related Questions