Answer Posted / parameswaran
String is immutable object..we can't modified the value...
but string buffer is mutable object we can change.
>>It can increase or decrease the size dynamically..
>>It contains Max 255 characters..
Warm & Regards
Parames(PRC)
Thanjavur
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is a local block?
How do you declare a variable?
Why do we need hashset in java?
what is synchronization? : Java thread
What are the three parts of a lambda expression?
In a class implementing an interface, can we change the value of any variable defined in the interface?
What is the difference between super class & sub class?
What are advantages and disadvantages of OOPs?
Can I overload to string method
What is lexicographically smallest string?
Can a static method be overridden in java?
What is size of int in java?
When arithmeticexception is thrown?
Difference between ‘>>’ and ‘>>>’ operators in java?
Can a static method be final?