Which of the following best describes object-oriented programming?
A
Programming that avoids functions
B
Programming without variables
C
Programming using only numbers
D
Programming based on objects containing data and methods
Correct Answer: Option D — Programming based on objects containing data and methods
Explanation:
Object-oriented programming is a paradigm that organizes software design around objects, which bundle together data in the form of fields an...
Object-oriented programming is a paradigm that organizes software design around objects, which bundle together data in the form of fields and behavior in the form of methods. This approach promotes code reuse and modular design.