Difference between String & StringBuffer

Answer Posted / tamanna reshmi

The main difference of string class and StringBuffer is
that....while STRING class creates strings
fixed_length,STRINGBUFFER creates strings of flexible length
that can be modified in terms of both length and
content.........

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the scope or life time of instance variables?

646


What is constructor in java ?

627


What is a jit compiler?

625


Describe the syntax of multiple inheritance? When do we use such an inheritance?

576


Explain what do you mean by functional overloading in java?

545






How many bytes are a float?

499


How to create a fecelet view?

547


Why is String immutable?

609


Discuss different types of errors that generally occur while programming.

567


What are the methods of object class ?

554


What is a function argument in java?

509


If try block is successfully executed, Then Is Finally block executed?

602


What is the meaning of variable in research?

551


What is thread count in java?

536


How to find the given number is a prime number or not by getting input from the user

540