...
OOPS
August 29, 2024
OOPS
August 29, 2024
OOPS
August 29, 2024
OOPS
August 29, 2024

OOPS

Question 118
The major goal of object oriented programming is
A
top down program development
B
Speed
C
User interface
D
Reuse
Question 118 Explanation: 
Languages that support object oriented programming typically use inheritance for code reuse and extensibility in the form of either classes or prototypes. Those that use classes support two main concepts:
1. Classes – the definitions for the data format and available procedures for a given type or class of object; may also contain data and procedures (known as class methods) themselves,
i.e. classes contain the data members and member functions
2. Objects – instances of classes
Correct Answer: D
Question 118 Explanation: 
Languages that support object oriented programming typically use inheritance for code reuse and extensibility in the form of either classes or prototypes. Those that use classes support two main concepts:
1. Classes – the definitions for the data format and available procedures for a given type or class of object; may also contain data and procedures (known as class methods) themselves,
i.e. classes contain the data members and member functions
2. Objects – instances of classes

Leave a Reply

Your email address will not be published. Required fields are marked *