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
Can we write class inside a class in java?
What is the purpose of main function in java?
Write a program in java to establish a connection between client and server?
Which is better list or arraylist in java?
Tell me the latest versions in java related areas?
What does i ++ mean in Java?
How many ways can you break a singleton class in java?
Can we override constructor?
What do you mean by jjs in java8?
How does a cookie work in Servlets?
What is difference between arraylist and list in java?
What is the purpose of the enableevents() method?
Can you sort a list in java?
How do you convert an int to a string in java?
What is meant by the value of a variable?