OOPS
August 29, 2024OOPS
August 29, 2024OOPS
Question 118 |
The major goal of object oriented programming is
top down program development | |
Speed | |
User interface | |
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
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
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