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 an interface implement another interface?
Describe what a thread-local variable is in java?
What is data string?
Which package is imported by default?
What are the advantages of exception handling in java?
Can singleton class be inherited in java?
What is the meaning of find and replace?
Where can I find jdk in my computer?
Can bool be null?
How many bytes are there?
What do you understand by garbage collection in Java? Can it be forced to run?
What kind of variables can a class consist?
Can we store variables in local blocks?
What is string manipulation?
What is a subsequence of a string?