Difference between String & StringBuffer

Answer Posted / ramanareddy333

strings are immutable where as string buffer is a
mutable,that means strings having the fixed size and string
buffer size is varied(growable).

Is This Answer Correct ?    119 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a method be overloaded based on different return type but same argument type?

546


What is general methodology?

565


When should I use a singleton?

554


Can a final variable be manipulated in java?

530


What is the use of runnable interface?

606






How do you use wildcards?

528


What is variable in java?

520


What is compareto?

542


Is java a prime method?

550


What is remote method invocation (rmi)?

611


What is null data type?

534


What classes of exceptions may be thrown by a throw statement?

524


What is java util list?

487


What is dynamic binding(late binding)?

582


Difference between vector and arraylist.

578