Difference between String & StringBuffer
Answer Posted / kunal chwala
It means that we cant change the content of String once created. If we try append a new string using + operator
then it creates new String object.
ex.
Is This Answer Correct ? | 13 Yes | 5 No |
Post New Answer View All Answers
explain different ways of using thread? : Java thread
What is structure of java heap? What is perm gen space in heap?
What do you understand by access specifiers in Java?
Is an integer an object?
Why java is made?
What is ide with example?
Why object class is super class for every class in java?
what state does a thread enter when it terminates its processing? : Java thread
How to perform linear search in java?
What is main difference between variable and constant?
What is a stack class in java ?
What is a method vs function?
When should you use arraylist and when should you use linkedlist?
How do you calculate square roots?
How to sort an array from smallest to largest java?