whst is encapsulation?when u encpsulate actually while
devoloping code?
Answer Posted / dhawal
Encapsulation is process of hiding data
for example if access specifier we are using for accessing
class is private then only that class object can access the
methods and variables in that class
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Explain different ways of creating a thread?
What is the difference between compare and compareto in java?
What is difference between char array and string?
What is nextint java?
Can we use this () and super () in a method?
What is the output of the below java program?
do I need to use synchronized on setvalue(int)? : Java thread
What is java english?
What are the benefits of immutable objects?
Are arrays dynamic in java?
Is map sorted in java?
What method is used to specify a container's layout in java programming?
What is use of static in java?
What are memory tables?
What is the use of isempty in java?