what is the difference between String and StringBuffer classes?
Answer Posted / kishore cheruku
a) String objects are constants and immutable whereas StringBuffer objects are not. b) String class supports constant strings whereas StringBuffer class supports growable and modifiable strings.
| Is This Answer Correct ? | 23 Yes | 0 No |
Post New Answer View All Answers
What is volatile data type?
What is command line argument
State the difference between strings and arrays.
Can java list contain duplicates?
Does constructor be static?
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.
Which variable is the independent variable?
What is jar?
java program with complete 4 oops concepts implemented example
What is stack explain?
Can memory leak in java?
What is a “stateless” protocol ?
What is math exp in java?
What is jvm? How its run?
What is advantage of java?