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
How can an object be unreferenced?
What is a java applet? What is an interface?
What are format specifiers in java?
What is prime number in java?
What is the inheritance?
What is a default constructor and also define copy contrucyor?
Which browsers work with java?
What is Gang of four design patterns
Can we sort hashmap in java?
Why destructor is not used in java?
Is integer immutable in java?
Tell me about different OOPS concepts.
Can we declare main () method as non static?
What is immutable class in java?
why java uses class level type casting ?