Answer Posted / tanveer
String class is immutable .To make the String immutable use String Buffer or String Builder classes which are mutable
| Is This Answer Correct ? | 14 Yes | 4 No |
Post New Answer View All Answers
there are N number of matchboxes numbered 1...N.each matchbox contain various number of stick.Two player can alternatevely pick some amount of stick from the higest stick containing box . The player is condidered win if there is no stick after his move.Find the final move so that the move player win. Note:In case the number of stick is equal ,pick the stick from the higest numbered box.
What are the differences between wait() and sleep()?
Explain the difference between string, stringbuffer and stringbuilder in java?
What are the data types supported by java? What is autoboxing and unboxing?
Is char a data type in java?
Explain enumeration in java?
How many bits is a boolean?
What is the buffer limit?
What is string in java? String is a data type?
What is the difference between an inner class and a sub-class?
When can we say that threads are not lightweight process in java?
Write a program in java to create a doubly linked list containing n nodes.
Can we create object of inner class in java?
Is string is a keyword in java?
What is used of static keyword in java?