What is the difference between the string and stringbuffer classes?
Answer / Md Ataul Mustafa
String and StringBuffer are both used to represent sequences of characters in Java, but there are differences between them. Strings are immutable (once created, they cannot be changed), while StringBuffers are mutable (they can be modified after creation). Additionally, String objects are constant and final, whereas StringBuffer is a class that provides methods for manipulating strings.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the use of Semaphore?
Explain the steps in details to load the server object dynamically?
Can I import same package/class twice? Will the jvm load the package twice at runtime?
What is Connection Pooling?
1 Answers Enteg Technologies, Infosys, Polaris,
What is the name of the state, when a thread is executing?
What is source and listener?
whats is mean by tiles in struts
What you mean by COM and DCOM?
How many layers are there in RMI and what are they?
How are the elements of a cardlayout organized?
Why are my checkboxes not being set from on to off?
difference between apllet and interface class