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
What do bitwise operators do?
Why java is object oriented?
What is the difference between the boolean & operator and the && operator in java programming?
What are the main uses of the super keyword?
What are the types of literals?
What are the types of methods in java?
How can I become a good programmer?
Is 0 an even number?
Why java doesn’t support multiple inheritances?
What is the range of the short type?
Why is sizeof not a function?
Why is stringbuffer faster than string?
What is charat ()?
When do we use hashset over treeset?
When we should use serialization?