21. Which of the following is generally referred to as ‘is-a-kind-of’
relationship between two classes?
A. Composition
B. Inheritance
C. Aggregation
D. Polymorphism
22. Which of the following can be considered as a blueprint for various
objects?
A. State
B. Attribute
C. Object
D. Class
23. For any computer program, two core elements are ___________
A. data and information
B. class and object
C. data and function
D. state and behavior
24. Which of the following views two core elements as single entity?
A. Structured programming
B. procedural programming
C. object oriented programming
D. Language programming
25. Mechanism of providing protection to data and methods of a program is
called _________
A. Encapsulation
B. Data abstraction
C. Inheritance
D. Polymorphism
Answers
Answered by
0
Answer:
1- D
2-C
3-D
4-A
5-B
It will be helpful for u
Similar questions