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
Explain the private field modifier?
How do listeners work?
What are the 2 types of java programs?
What is java regex?
What a static class can contains?
What is meant by binding in rmi?
Can we override data members in java?
What is string builder in java?
what is object slice?
Why parsing is done?
What is string value?
What is the size of integer?
Is int a class in java?
What are identifiers in java?
What is the difference between jdk, jre, and jvm?