what is the difference between String and StringBuffer classes?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / tarun choudhary
The String class is used for strings that are not allowed to change. The StringBuffer class is used for strings that may be modified by the program.
| Is This Answer Correct ? | 15 Yes | 0 No |
What are actual parameters?
explain the concept of inheritance with an example?
Can u write constructor in abstract.If yes den when it will be invoked.
What is the maximum size of list in java?
what is j2se
Is constructor inherited?
Which number is denoted by leading 0x or 0x in java?
What are keywords and reserved words in java?
How many types of design patterns are there?
Can we execute a program without main() method?
what is default layout of JFrame class?
Explain the overview of UDP messaging.