Answer Posted / rakesh
For save the memory and reduce the response time.
StringBuffer provide an alternet for String class object,
which is muttable.
Is This Answer Correct ? | 5 Yes | 9 No |
Post New Answer View All Answers
what are the high-level thread states? : Java thread
Given a singly linked list, how will you print out its contents in the reverse order? Can you do it with consuming any extra space?
What is heterogeneous in java?
What is your platform?s default character encoding and how to know this?
I want to re-reach and use an object once it has been garbage collected. How it's possible?
Why pass by reference is not possible in java?
How do you compare characters in java?
What is difference between iterator and enumeration in java?
What are abstract methods in java?
What is ‘has a’’ relationship in java?
Is there any difference between synchronized methods and synchronized statements?
Can we sort hashmap in java?
What are scriptlets?
String class is defined under which package in java?
What is a boolean field?