WHAT IS THE DIFFERENCE BETWEEN ABSTRUCTION AND
ENCAPSULATION?
PLEASE EXPLAIN IT.
Answer Posted / mahesh_b.tech@2008
ABSTRUCTION:
Process of providing the neccesary properties & operations
of an object is called as abstuction
Example take car the car user only know things reqired.
he don't no the internal functionality of the car b'coz it
is not required for the user .
properties like car:colour,number,model etc.
operations like car:move front,backetc.
ENCAPSULATION:
Process of providing all the properties&operayion of entity
in one place is called as encapsulation.
In java operations are called as methods,properties are
called as variables.
The place where you were write the variables &properties is
called as class.
| Is This Answer Correct ? | 31 Yes | 8 No |
Post New Answer View All Answers
What is difference between polymorphism and inheritance?
What is inheritance in oop?
What is the importance of oop?
Explain the advantages of inheritance.
What is object in oop with example?
Why is object oriented programming so hard?
How to use CMutex, CSemaphore in VC++ MFC
What is property in oops?
What is polymorphism in oop example?
What is a class and object?
Can we override main method?
Is html an oop?
write a program to find 2^n+1 ?
what are the ways in which a constructors can be called?
What does and I oop and sksksk mean?