Explain in detail about encapsulation with an example?
Answer Posted / aditya mohata
encapsulation is hiding detalis which u dont wanna show it
publicly or u dont want it to b modified.
| Is This Answer Correct ? | 10 Yes | 5 No |
Post New Answer View All Answers
What are the four versions of java?
What are the changes in java.io in java 8 ?
Assume a thread has lock on it, calling sleep() method on that thread will release the lock?
What is stream api in java8?
What is difference between null and void?
How to use Media tracker Class.
What is the differences between c++ and java? Explain
Is null a string or object in java?
What is string and example?
What is the association?
Distinguish between a predicate and a function?
Can a main method be overloaded?
What is identifier with example?
Explain notifyall() method of object class ?
Can we compare two strings in java?