what is the difference between String and StringBuffer classes?
Answer Posted / 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 |
Post New Answer View All Answers
What is object-oriented paradigm?
What is the equal sign?
What is singleton class in ruby?
Given a singly linked list, determine whether it contains a loop or not without using temporary space?
Why is multiple inheritance not supported in java?
What does the string method compareto () do?
What is the name of the java compiler?
What is the difference between a local variable and an instance variable?
What is the file extension for java?
How would overload a function based on return type?
What is difference overloading and overriding?
What is <> used for in java?
Are arrays static in java?
What are the important features of Java 10 release?
Why is String immutable?