whst is encapsulation?when u encpsulate actually while
devoloping code?
Answer Posted / dsr
Encapsulation is a mechanisum,thet binds together data and
code. for example:Bean
In bean, all the variables are private. we can't access
that variables with the help of class object.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is an array in java?
What does arrays sort do in java?
What is return type in java?
Write a program to show whether a graph is a tree or not using adjacency matrix.
Explain an intermediate language?
Why do we need array in java?
Why do we need singleton class?
How many types of parsers are there?
Assume a thread has lock on it, calling sleep() method on that thread will release the lock?
What is lambda programming?
What is the purpose of the system class in java?
What is java algorithm?
Can sleep() method causes another thread to sleep?
Are true and false keywords?
Describe what a thread-local variable is in java?