Difference between String & StringBuffer
Answer Posted / navneet raushan
The great difference between String and string buffeer is
that String buffer is thread safe where as String is not
thread safe as well as string is immutable and String
buffewr is mutable.
| Is This Answer Correct ? | 77 Yes | 12 No |
Post New Answer View All Answers
What is a dot notation?
What is exception propagation?
Explain different ways of creating a thread?
We are seeing so many videos/audios as many web sited. But question is these videos or audios are stored in Databases ( Oracle, Mysql, Sybase,... ) or stored any file directory from there they will give the link for that? Pls explain and give sample code to achieve this one? Thanks, Seenu.
What is the purpose of skeleton and stub?
Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.
What is difference between jdk,jre and jvm?
Why main method is called first in java?
What is the difference between a synchronized method and a synchronized block?
What is bool mean?
How to access arraylist elements in java?
Can we assign null to double in java?
What is reverse function?
What comes to mind when someone mentions a shallow copy in java?
Can we have any code between try and catch blocks?