In object-oriented programming, what is the correct definition of a class?

PYQ IBPS SO CRP SPL-XV (2025)

In object-oriented programming, what is the correct definition of a class?

  1. A.

    An instance allocated in memory

  2. B.

    A data type that defines both properties and behaviors

  3. C.

    A container for functions only

  4. D.

    A blueprint containing method signatures only

  5. E.

    A variable holder for all object states

Attempted by 60 students.

Sign up free to check your answer

Sign up free

Explore the full course: Ibps So It Mains

Loading lesson…