Asked by: Zoha Tazmen

What is a class in object-oriented programming (OOP)?

Answers (1)

A class in OOP is a blueprint for creating objects. It defines the properties (attributes) and behaviors (methods) that the objects of the class will have. A class serves as a template for instantiating objects.

Answered by: Zoha Tazmen

Your Answer