WHAT IS THE DIFFERENCE BETWEEN ABSTRUCTION AND
ENCAPSULATION?
PLEASE EXPLAIN IT.
Answer Posted / narender_niit
abstraction:
abstraction means providing the relevant information only
and hiding other information..
encapsulation:
encapsulation means capsuling of data in the class..in
encapsulation the data members are declared in a class.and
we u want to use that variables only the copy of the
variables goes there which we use in other public
classes.this generates the concept of information hiding.
encapsulation also provide scurity to the data variables
Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
Why do we use inheritance?
c++ program to swap the objects of two different classes
What is meant by oops concept?
Which type does string inherit from?
What is polymorphism and example?
What is polymorphism and its types?
What is this pointer in oop?
What is an interface in oop?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
What do you mean by variable?
What is the oops and benefits of oops programming?
How do you define social class?
Can you inherit a private class?
Which is not an object oriented programming language?
What is polymorphism in oops?