search
Log In
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
1 vote
531 views

Match the following with reference to object oriented modelling:

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

  1. $a-iv, b-iii, c-i, d-ii$
  2. $a-iii, b-iv, c-ii, d-i$
  3. $a-iii, b-i, c-ii, d-iv$
  4. $a-iv, b-iii, c-ii, d-i$
in Object Oriented Programming
edited by
531 views

1 Answer

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

2 votes
1 answer
1
816 views
Which of the following is/are correct with reference to Abstract class and interface? A class can inherit only one Abstract class but may inherit several interfaces An abstract class can provide complete and default code but an interface has no code a is true b is true Both a and b are true Neitehr a nor b are true
asked Aug 10, 2016 in Object Oriented Programming jothee 816 views
2 votes
2 answers
2
1.2k views
Which of the following is used to make an Abstract class? Making at least one member function as pure virtual function Making at least one member function as virtual function Declaring as Abstract class using virtual keyword Declaring as Abstract class using static keyword
asked Aug 9, 2016 in Object Oriented Programming jothee 1.2k views
1 vote
2 answers
3
879 views
Consider the following two statements: A publicly derived class is a subtype of its base class Inheritance provides for code resuse Which of the following statements is correct? Both statements a and b are correct Neither of the statements a and b are correct Statement a is correct and b is incorrect Statement a is incorrect and b is correct
asked Aug 8, 2016 in Object Oriented Programming jothee 879 views
0 votes
1 answer
4
126 views
Abstraction and encapsulation are fundamental principles that underlie the object oriented approach to software development. What can you say about the following two statements? Abstraction allows us to focus on what something does without considering the complexities of how it works. Encapsulation ... us. Neither I nor II is correct Both I and II are correct Only II is correct Only I is correct
asked Mar 24 in Object Oriented Programming jothee 126 views
...