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 |
Explain about the dynamic behavior of core java?
Does apple use java?
Is a method a procedure?
What are the common problems you have faced while implementing Java?
What is difference between protected and private?
Why do we override tostring method in java?
What is t in generics in java?
Explain what is Marker interface?
What is the basically use of finally while we know it is always executed but why?
What is super in java?
What is a dynamic array in java?
What is the integer of 16?