which class to use when concatenating
strings in a loop.
Answers were Sorted based on User's Feedback
we any use the both classes String and StringBuffer.
but if we use StringBuffer it would be advatagebecase we
are going to create only one Object.if we use the String
class it is going to create the one for each itration.now
it up to you which one to use
| Is This Answer Correct ? | 4 Yes | 4 No |
What is the difference between hashmap and hashtable in java?
There are three interfaces A,B & C. A extends B, B extends C, and C extends A.Is it multiple Inheritance? please anybody help me.....
What is jee6?
How OOPS concept is achieved in Java?
6 Answers Cognizant, JPMorgan Chase, Xavient,
What is the meaning of nullable?
Default layout of Dialog object?
How do you reverse sort in java?
why do we use interface in java?
Can a class extend 2 classes in java?
how to run ecllipse with jettyserver for windows environment using batch file
What is the benefit of inner classes in java?
Can we use switch statement with strings?