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 |
explain oops concepts with examples?
29 Answers AbhiBus, Beeline, DELL, HCL, Satyam, TCS, VLS, Wipro,
Why operator overloading is not in Java?
how would you implement a thread pool? : Java thread
What is meant by structural programming?
What is synchronization and why is it important in java programming?
Why for each loop is used?
What is r * in math?
What is the internal implementation of set in java?
What is the difference between checked exception and unchecked exception?
What is unicode?
What is a singleton class? Give a practical example of its usage.
Why should we use singleton pattern instead of static class?