Explain in detail about encapsulation with an example?
Answer Posted / ravikiran(aptech mumbai)
encapsulation is the one which will bind members and methods
into a single entity
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
What is the static variable?
What is the difference between iterator and list iterator?
What is user defined exception in Java?
How can I debug the Java security exceptions and AccessControlExceptions?
how we can make a write-only class in java?
Explain, java is compatible with all servers but not all browsers?
Why is logger singleton?
What is the difference between a constructor and a method?
When should the method invokelater() be used?
What is static method with example?
What are the types of casting?
What is mysql driver class name?
What Is Query Throttling in java?
Why we used break and continue statement in java?
What is an abstract method in java programming?