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 class encapsulation?
Is this job good for future? can do this job post grduate student?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
What is polymorphism explain its types?
What are the 4 pillars of oop?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
What are the types of abstraction?
How oops is better than procedural?
What are the features of oop?
Where You Can Use Interface in your Project
How do you use inheritance in unity?
What is the difference between inheritance and polymorphism?
What language is oop?
Is html an oop?