Difference between string, stringbuffer and stringbuilder?
Answer / Kanchan Yadav
`String` is an immutable class in Java. Once a `String` object is created, its value cannot be changed. On the other hand, both `StringBuffer` and `StringBuilder` are mutable classes that can change their values over time. `StringBuffer` is synchronized, while `StringBuilder` is not.
| Is This Answer Correct ? | 0 Yes | 0 No |
how to print output with out using sop statements
What are autoboxing and unboxing? When does it occur?
What is replaceall in java?
class A { public void disp(int a,int b) { System.out.println("hai"); } } class B { public void disp(int a,int b,int c) { System.out.println("hai"); } } above program is overloading or overriding?
what are the design patterns in struts?
What is the purpose of the main method?
Describe how to implement singleton design pattern in struts.
How concurrent hashmap works?
how to call a method in different package?
Which One is optimal to choose ? Syncronized hash map or Hash table with single thread model? How can a hash map syncronized with out using syncrozed blocks in programm?
Why do we need data serialization?
Difference between Primary key and unique key?