whst is encapsulation?when u encpsulate actually while
devoloping code?

Answer Posted / a.jyotsna

Encapsulation is the mechanism that binds together code and
the data it manipulates,
and keeps both safe from outside interference and misuse

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between inheritance and encapsulation?

593


What are the supported platforms by java programming language?

565


What is difference between fileinputstream and filereader in java?

557


How can constructor chaining be done using this keyword?

589


Is java an ide?

523






What does string mean in java?

628


Give reasons supporting that string is immutable.

496


What is main function purpose?

520


Does treeset use compareto?

538


Is object a data type?

555


What is an association?

546


What is supplier in java?

554


what is instanceof operator used in java?

589


What is double data type?

537


What is the range of a character variable?

541