Difference between Encapsulation and Abstraction
Answer Posted / prashant
abstrction in simple language is making complex thing simple
to use by using small and simple controls.
example:- as we know that the car is made up of many
complicated parts.but without bothering the internal details
of car we can drive using accelerator,break and clutch.in
this example accelarator,break and clutch are the small
controls,which makes possible to operate compicated car
encasulation is a method of defining data members and method
together within a class.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How many arguments can a method have java?
Explain public static void main(string args[]) in java.
What is api in java?
How do you make a thread in java?
Can we override the overloaded method?
What is java in simple terms?
What is the use of singleton class?
Can we call virtual funciton in a constructor ?
What is a file pointer?
What do you mean by thread safe?
What is finally block?
How does system arraycopy work in java?
Difference between process and thread?
What are the concepts of 'OOPS'?
Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?