1. (TCO 1) Object-oriented programming generally focuses on ______. (Points : 5)
ID: 3851647 • Letter: 1
Question
1. (TCO 1) Object-oriented programming generally focuses on ______. (Points : 5) A. separating the interface from the implementation.
B. client side access to implementation details.
C. information hiding.
D. reuse of code.
All of the above
None of the above
Only A, C, and D
Destructors
Overloaded constructors
All of the above
None of the above
Explanation / Answer
As per rules,I could answer only first four question. Find the answers below:-
Ans 1)Only A, C, and D
Explaination:- Object oriented programming features are:
-Data Hiding and Encapsulation
-Dynamic Binding and Resuability.
Ans 2)None of the above
Explaination:-classes are not functions so they don't return any values.Instead they contsin function that return values.Constuctors are function but they donot return any value.
Ans 3)Only B and C
Explaination:- multiple methods which has same name but different in number of parameters or different datatype is known as method overloading.
Ans 4)None of the above
Explaination:-Abstraction is the process where unimportant details are ignored while concentrating on the high level information.
The main concept and the center of the object-oriented paradigm is Abstraction
The object-oriented paradigm is more feasible and easier than procedural paradigm.
Ans 5)Drink()
Explaination :- The activity related to cup is Drink. So the method appropriate will be Drink().
-
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.