What is difference between string and stringbuffer?
Answer / Sakshi Singh
A String in Java is an immutable class, meaning once created, its contents cannot be changed. On the other hand, a StringBuffer (or StringBuilder) is mutable and allows for modifications to its content.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to access a variable if it is declared as private?
Write a program to print fibonacci series up to count 10.
Is java util regex pattern thread safe?
How to create a base64 decoder in java8?
where exactly collections are usefull in realtime
What is %d in printf?
Explain the difference between hashmap and hashtable in java?
What is double word?
How applets will communicate with each other?
Will the compiler creates a default constructor if I have a parameterized constructor in the class?
what is jms? features of jms
How dead lock situation occurs in java and how you can identify it?