Multiple choice

A language in order to be called as an object-oriented programming language should essentially consist of

  1. functions

  2. variables

  3. classes

  4. overloading

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Object-oriented programming is based on the concept of 'objects' which encapsulate data and behavior. Classes are the blueprints/templates for creating objects. While functions and variables exist in procedural programming, and overloading is a feature, classes are the essential foundation that defines a language as object-oriented.