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 are exceptions
Which is best ide for java?
How many types of keywords are there?
What is the epoch date?
Explain the difference between private, public, package and protected in java?
Where we write javascript code in html page?
What is an example of procedure?
Explain the access modifiers for a class, method and variables?
Which method returns the length of a string?
What is flag in java?
What is the difference between a vector & an array list?
Explain an algorithm to find depth of a binary tree.
What is literal example?
What do you mean by default constructor in java?
What is generics in java interview questions?