Difference between String & StringBuffer
Answer Posted / tashu
1)String class is of fixed length, but stringbuffer class is
of variable length.
2)String class can't insert character or sub string in the
middle of string, but in Stringbuffer class this is possible.
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What Is Query Throttling in java?
Can we nested try statements in java?
What are predefined functions?
How do you define a method?
What is the instance of an object?
What is classpath?
What happens when I use / and % with a negative numerator?
Can we sort arraylist in java?
Can a boolean be null java?
Can an object subclass another object?
Define how does a try statement determine which catch clause should be used to handle an exception?
What is byte [] in java?
What is the size of an array?
What is empty string literal in java?
What is boolean law?