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
Is null == null in java?
What is length in java?
Does importing a package imports its sub-packages as well in java?
What is the functionality of the stub?
what is heap memory?
What are the core java topics?
Difference between static synchronization vs. Instance synchronization?
In java, what is the difference between method overloading and method overriding?
What is final keyword in java?
Is java jre still free?
How many threads can java run?
Define immutable object?
What is the method overriding?
Explain abstract class in java?
Is constructor inherited?