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
How many ways can we create singleton class?
What is string data type?
What is vector?
Explain aggregation in java?
Is empty list java?
What is public/private protected in java?
What do you know about the garbage collector?
what are different ways in which a thread can enter the waiting state? : Java thread
why are there separate wait and sleep methods? : Java thread
Can a static block throw exception?
What is the difference between superclass and subclass?
Which collection does not allow duplicates in java?
what do you understand by synchronization? Or what is synchronization and why is it important? Or describe synchronization in respect to multithreading? Or what is synchronization? : Java thread
How to perform binary search in java?
What does string mean in java?