What is a class in object-oriented programming?

  • AA blueprint for creating objects
  • BA computer virus
  • CA type of network cable
  • DNone of these
Show answerHide answer

Correct answer A

A class is a blueprint or template for objects. It defines data members and methods. Objects are created from classes.