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
Explain the features of interfaces in java?
Can we use different return types for methods when overridden?
What is tree node in java?
What is starvation?
What is Mutex (Mutual Exclusion Object) ?
Can you explain the usages of class.forname()?
Why is the singleton pattern considered to be an anti pattern?
How we create object in copy constructor?
What does 3 dots mean in java?
What are the different types of sorting in java?
What does a za z0 9 mean?
Can classes declared using the abstract keyword cab be instantiated?
Explain the selection sort algorithm and state its time complexity?
What is java reflection?
Does java initialize arrays to zero?