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 basic concept of oop?
i got a backdoor offer in process global,Bangalore..Can i work with it?
#include
What is class and example?
Get me a number puzzle game-program
What is encapsulation c#?
what is graphics
write string class as your own class in java without using any built-in function
What are the three parts of a simple empty class?
What is persistence in oop?
write a program that takes input in digits and display the result in words from 1 to 1000
What do you mean by abstraction?
Write a program to reverse a string using recursive function?
What is overriding in oop?
What does <> mean pseudocode?