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
Why is core java important?
Is a class an object?
What is externalizable?
What types of index data structures can you have in java?
Is main an identifier?
what is difference betweem home interface and remote interface?
List down the methods and interfaces of collection class in java.
What is the difference between @before and @beforeclass annotation?
What is java literals?
Can we override a variable in java?
How many threads can java run?
What is the use of flag?
What is skeleton and stub? What is the purpose of those?
What is the benefit of inner classes in java?
What are the main differences between notify and notifyAll in Java?