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
what is deadlock? : Java thread
Can list be null in java?
What if constructor is protected in java?
What is mysql driver class name?
Can we sort set in java?
What is formatted output?
What is multi level inheritance in java?
Can you call a method in a method?
How are multiple inheritances done in Java?
What does int argc char * argv [] mean?
Explain exception chaining in java?
What is the difference between abstraction and encapsulation?
Why do I need to declare the type of a variable in java?
How do you convert an int to a double in java?
What does a void function return?