can any one tell me what is advantage of encapsulation

Answer Posted / phanindra

The Advantage of Encapsulation is we can achieve
Security,Durabilty and Maintainability.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is bubble sorting in java?

599


Why are pointers not secure?

541


What is the meaning of course?

589


Explain the difference between string, stringbuffer and stringbuilder in java?

565


Explain the advantages of packages in java?

518






Difference between a process and a program?

619


Differentiate between vector and array list.

638


why are wait(), notify() and notifyall() methods defined in the object class? : Java thread

557


What is immutable data?

588


Write an algorithm program in java for the following question.. 1) S is a set of integers.X is an integer obtained by sum of two digits in S. Write logic for whether or not the X is from the S. The time of algorithm should not exceed o(n logn).

1609


What is java object name?

553


Can we increase array size dynamically in java?

517


What is the default value of the local variables?

515


What are the differences between heap and stack memory in java?

546


Can you instantiate the math class?

604