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
How does arraylist work in java?
How many bits are in a sentence?
Can a constructor be private and how are this() and super() method used with constructor?
What is the console in java?
Can we declare an interface as final?
What is connection class in java?
What is the finalize method do?
Explain the difference between call by refrence and call by value?
Can I use % with real numbers?
What is meant by final class?
How do you add spaces in java?
What do you understand by private, protected and public?
What is sorting in java?
What is the difference between yield() and sleep()?
What is the main use of java?