string is immutable? right every one knows that, my
question is it advantage or disadvantage making string
immutable?

Answer Posted / vinod kumar

It is an advantage
performance: knowing that a string is immutable makes it
easy to lay it out at construction time — fixed and
unchanging storage requirements

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is parameter example?

550


What is difference between fileinputstream and filereader in java?

566


What is __ init __ functions?

553


Does A Class Inherit The Constructors Of Its Superclass?

538


Do I need java on my computer?

530






What does regex mean?

571


Is {a, n, d} a palindrome? If you are given a random string, is it a palindrome or not?

625


How can we make a class virtual?

644


What are measurable parameters?

571


What is flush buffer?

521


What is the difference between arraylist and hashset in java?

520


What are the differences between graph and tree?

651


hi am an engineering student and my next plan is for ms in either in us or australia i got my passport but i dont know anything bout visa can u give brief idea 1)How to get prepared for visa and 2)How to apply for top universities and 3)How to pay the fee and so on These all are basic questions plz give me a clear idea

1465


Explain reverse a linked list iterative solution in java?

504


What is thread pool in java with example?

549