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 are the various access specifiers for java classes?
What is arraylist e?
What is the program compilation process?
What is palindrome in java?
Explain wait(), notify() and notifyall() methods of object class ?
What type of language is java?
Java is pass by value or pass by reference? Explain
Can we force garbage collector to run ?
What is indexof in java?
Which containers use a flowlayout as their default layout in java programming?
What is use of inner class in java?
Can you explain the usages of class.forname()?
What is independent and dependent variables in research?
How do you add an arraylist to an array in java?
Which is better singleton or static class?