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
can we make game by using c
What is static modifier?
• What are the desirable attributes for memory managment?
What is the difference between a mixin and inheritance?
Why multiple inheritance is not allowed?
What is data binding in oops?
What is oops and its features?
What is the oops and benefits of oops programming?
How to improve object oriented design skills?
What is abstraction in oop?
What is the real life example of polymorphism?
What is the important feature of inheritance?
What are the components of marker interface?
What is polymorphism give a real life example?
How is class defined?