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?
- A.
An instance allocated in memory
- B.
A data type that defines both properties and behaviors
- C.
A container for functions only
- D.
A blueprint containing method signatures only
- E.
A variable holder for all object states
Attempted by 60 students.
Sign up free to check your answer
Sign up freeLoading lesson…

