What is meant by Encapsulation? Can you write a class to
explain encapsulation?
Answer Posted / bln
Encapsulation is process binding data with an object.
Object consists data and methods, where methods helps to
extract or set data.
All classes developed using OOPS concepts follow the
encapsulation.
| Is This Answer Correct ? | 15 Yes | 4 No |
Post New Answer View All Answers
Can you add null to a list java?
Explain list interface?
What is difference between array and vector?
What is Major and importance difference between for and foreach loop ?
What is null data type?
Why javac is not recognized?
What is primitive array?
Differece between class and generic class?
What is the purpose of the runtime class in java programming?
How arrays are stored in memory in java?
What is the purpose of the system class in java?
How do you calculate square roots?
How can we run a java program without making any object?
When the constructor of a class is invoked?
What is use of inner class in java?