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
Java.util.regex consists of which classes?
What is local variable and instance variable?
How many types of threads are there in java?
what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread
What does indexof mean?
What does sizeof return?
What do you mean by access modifier?
What is the purpose of interface?
What is the use of StringTokenizer class?
What are mutable classes?
What is rmi and steps involved in developing an rmi object?
What are the different ways to handle exceptions?
Why multiple inheritance is not supported by java?
What are features of java?
What is difference between calling start() and run() method of thread?