Answer Posted / kanchan
String are read only and immutable. The StringBuffer class
is used to represent characters that can be modified.
StringBuffer is faster than String when performing simple
concatenations.
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How does indexof work?
what is the constructor and how many types of constructors are used in java?
What are register variables what are the advantages?
What does split function do in java?
Can we change the value of static variable?
Can we have multiple classes in single file ?
Write an algorithm program in java for the following question.. 1) S is a set of integers.X is an integer obtained by sum of two digits in S. Write logic for whether or not the X is from the S. The time of algorithm should not exceed o(n logn).
How do you find the independent variable?
Write a code to show a static variable?
What is the difference between java applets and applications?
What is variable and example?
How many bytes are there?
What is fail first in java?
What are the important methods of java exception class?
What is the use of flag?