why String class is immutable.

Answer Posted / naru

String object is immutable that's why security maintain of
file chech .when connection is establic first os check the
String object if string is mutable that is big pain in
security issue...

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is collections framework?

582


Why are the objects immutable in java?

552


What is immutable state?

510


Is 0 true or is 1 true?

520


Tell me are there implementations for sorting and searching in the java libarary?

606






What is the difference between overriding & overloading?

570


Describe the process as to how substring() methodology mechanisms in java.

563


Why hashmap is used in java?

558


What does a method signature consist of?

517


What is type safety in java?

495


Can a static class have a constructor java?

554


How do you do absolute value in java?

532


How do you sort a set in java?

524


How many types of methods are there?

552


How many bytes are a float?

511