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


Please Help Members By Posting Answers For Below Questions

What modifiers may be used with an inner class that is a member of an outer class in java programming?

531


What does method mean?

514


Why 1 is not a prime number?

555


What happens if we override private method?

523


What are the differences between include directive and include action?

544






What's the base class in java from which all classes are derived?

740


Can I learn java in 3 months?

539


what happens when a thread cannot acquire a lock on an object? : Java thread

538


Why bytecode is called bytecode?

583


What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?

612


How many types of string data types are there?

559


What is a null point?

557


What is boolean used for?

589


Is binary a low level language?

504


Who found java?

550