String is mutable or immutable?

Answer Posted / sumitpalsingh

String class is immutable .In String class we can not change or modify object value. To make an object value modifiable. we can use StringBuffer and StringBuilder classes.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com

3189


Can we sort set in java?

538


What is io stream in java?

513


What is immutable class in java?

508


What is consumer in java?

520






How does remove work in java?

517


What is gui programming?

514


What are the main uses of java?

523


what is predefined function in java?

535


What is empty list in java?

622


What is the return type of the main method?

575


why doesn't java run on all platforms?

567


What is an immutable class?

612


What mechanism does java use for memory management?

489


What is the numeric promotion?

495