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
Which variable is the independent variable?
Tell me about your ability to work under pressure
Why there are some null interface in JAVA? What does it mean? Give some null interface in JAVA?
Is arraylist ordered?
How many characters is 2 bytes?
What is the difference between actual and formal parameters?
How many bytes is a char in java?
What is difference between == and === in js?
Garbage collection in java?
Explain the scope or life time of class variables or static variables?
What flag up means?
Why we use methods in java?
Given a singly linked list, how will you print out its contents in the reverse order? Can you do it with consuming any extra space?
What is java Applet?
Is the empty set a singleton?