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 stringjoiner ?
What is the purpose of main function in java?
What ide should I use for java?
What is the importance of hashcode() and equals() methods?
If I only change the return type, does the method become overloaded?
What is a nonetype?
please send me hr interview questions in it industry
How many types of literals are there in JAVA?
Can we have any code between try and catch blocks?
Is string is a data type?
What is difference between public static and void?
What does percent mean in java?
What are different types of multitasking?
What is the maximum size of a string in java?
What access modifiers can be used for variables?