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 array list in java?
What is void data type?
Is a class subclass of itself?
What is the difference between inheritance and encapsulation?
What is the benefit of singleton pattern?
How do you call a reference in java?
What is use of super keyword in java?
What are the skills required for core java?
Write code of any action class?
What are the ways in which a thread can enter the waiting state?
What is java virtual machine and how it is considered in context of java’s platform independent feature?
What is oop principle in java?
Is binary a low level language?
What is meant by memory leak?
What are scriptlets?