Question
Define class.

Answer

A class is a collection of the objects/entities of the same type. A class represents the data members and the member functions collectively define entities of one type. For example, class of students, bunch of books, group of members etc can be defined to represent students, books, and members respectively.

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free