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
How to perform binary search in java?
How many arguments can a method have java?
What is difference between float and double?
What restrictions are placed on method overriding?
What is boolean logic?
What is the vector class in java programming?
What is singleton service?
Are there structures in java?
What is the buffer limit?
Does java linked list allow duplicates?
How hashmap works in java?
What about features of local inner class?
Explain java code for recursive solution's base case?
What is a hashmap used for?
List down the methods and interfaces of collection class in java.