edited by
1,291 views
1 votes
1 votes

Match the following with reference to object oriented modelling :

$\begin{array}{clcl}  & \textbf{List-I} && \textbf{List-II} \\ \text{(a)} & \text{Polymorphism} & \text{(i)} & \text{Picking both operator and attributes with} \\ &&& \text{operations appropriate to model an object} \\ \text{(b)} & \text{Inheritance} &\text{(ii)} & \text{Hiding implementation details of} \\ &&& \text{methods from users of objects} \\ \text{(c)} & \text{Encapsulation} & \text{(iii)}& \text{Using similar operations} \\ &&& \text{to do similar things} \\ \text{(d)} & \text{Abstraction} & \text{(iv) }& \text{Create new classes from} \\ &&& \text{existing class} \\ \end{array}$

$\textbf{Codes:}$

  1. $\text{(a)-(iv), (b)-(iii), (c)-(i), (d)-(ii)}$
  2. $\text{(a)-(iii), (b)-(iv), (c)-(i), (d)-(ii)}$
  3. $\text{(a)-(iii), (b)-(i), (c)-(ii), (d)-(iv)}$
  4. $\text{(a)-(iv), (b)-(iii), (c)-(ii), (d)-(i)}$
edited by

1 Answer

2 votes
2 votes
ans will be B

a. Polymorphism---->Using similar operations to do similar things

b. Inheritance   -----> Create new classes from existing class

c.Encapsulation---->Hiding implementation details of methods from users of objects

d.Abstraction--->Picking both operator and attributes with operations appropriate to model an object
Answer:

Related questions

3 votes
3 votes
2 answers
4
go_editor asked Aug 1, 2016
3,683 views
Which one of the following is correct?Java applets cannot be written in any programming languageAn applet is not a small programAn applet can be run on its ownApplets are...