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
State some situations where exceptions may arise in java?
What is codebase?
What is the difference between @before and @beforeclass annotation?
When parseint method can be used?
Does garbage collection occur in permanent generation space in jvm?
Is java based on c?
What is compareto?
How do you identify independent and dependent variables?
What is mean by collections in java?
Is intellij better than eclipse?
Can we make constructors static?
Can we write any code after throw statement?
Explain creating threads by implementing runnable class?
what is optional in java 8?
What is a double?