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 oops?
What is polymorphism give a real life example?
what is the sylabus for priliminaries?
What is difference between oop and pop?
Can you explain polymorphism?
#include
What are objects in oop?
c++ program to swap the objects of two different classes
What is a superclass in oop?
What is an advantage of polymorphism?
What is stream in oop?
What is polymorphism what is it for and how is it used?
What is the oops and benefits of oops programming?
What is cohesion in oop?
Can abstract class have normal methods?