Answer Posted / kanchan
String are read only and immutable. The StringBuffer class
is used to represent characters that can be modified.
StringBuffer is faster than String when performing simple
concatenations.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Why do we use threads in java?
How do you control extraneous variables?
Write a program to print count of empty strings in java 8?
Can a main method be declared final?
What is the definition of tree ?
What is java jit compilers?
Give an example of use of pointers in java class.
what is the major difference between linkedlist and arraylist in java?
What is the difference between multiple processes and multiple threads?
Difference between == and .equals() ?
How do I compare two strings in word in java?
Does string isempty check for null?
Is char * a string?
How many bytes is 255 characters?
Explain the difference between extends thread vs implements runnable in java?