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 the use of default method in interface in java? Explain
What are data types in programming?
What is merge sort in java?
Can a class have more than one object?
What is a website container?
Describe 2 different ways to concatenate two strings.
What is meant by main method?
What is classes in java?
From the two, which would be easier to write: synchronization code for ten threads or two threads?
Explain the difference between comparator and comparable in java?
When should you make a function static?
What is an immutable class? How to create an immutable class?
What are inner classes or non static nested classes in java?
What do you mean by composition in java?
What does system out println () do?