Difference between String and StringBuffer.
Answer Posted / minu
hi
i am agree with Madhu ,
String is an immutable object. StringBuffer is a mutable
object.
immutable object:If you are not allowed to change the value
of an object, it is immutable object.
mutable object: If a object value is changeable then we can
call it as Mutable object.
Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
What is number data type?
What is cr keyboard?
Write a method that will remove given character from the string?
Can we return null in java?
What is skeleton and stub? What is the purpose of those?
What is append function?
What is the need of transient variables in Java ?
Why we override equals() method?
Write a program to print fibonacci series
Differentiate between nested and inner class in java.
What is a singleton puppy?
How many types of java are there?
Explain the difference between abstract classes and interfaces in java?
How many bits is a 64 bit byte?
How to do a true java ping from windows?