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
hi am an engineering student and my next plan is for ms in either in us or australia i got my passport but i dont know anything bout visa can u give brief idea 1)How to get prepared for visa and 2)How to apply for top universities and 3)How to pay the fee and so on These all are basic questions plz give me a clear idea
Can a class be defined inside an interface?
What is the indent key?
What are different exception types exceptions available in java ?
How to Sort Strings which are given in List and display in ascending order without using java api.
If a method is declared as protected, where may the method be accessed in java programming?
What is math floor in java?
Is set ordered?
What are the four pillars of java?
What is constant in programming?
What are exceptions
What does this () mean in java?
What are the three parts of a lambda expression? What is the type of lambda expression?
Can string be considered as a keyword?
what is server side caching?