Difference between String and StringBuffer.
Answer Posted / madhu
string is imutable and stringbuffer is mutable
Mutable means storing location is same
Imutable means storning location is different
Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What is a Transient Object?
Difference between a class and an object?
Is minecraft 1.15 out?
What is a numeric format?
What is strings in java?
Is class forname reflection?
Why singleton pattern is better than creating singleton class with static instance?
What is the purpose of the finalize() method?
Why string objects are immutable in java?
How many bits is a word?
How do you create immutable object in java?
Addition to previous section relative word 5th one was Putrid ans: rotten, also there was prob. in 1st section on bucket weight ans:10kg, also there was a prob. on train speed to find bridge length ans:800 mtrs.
What is type parameter in java?
What are the uses of java?
What is the difference between hashmap and hashtable? What is an interface?