which class to use when concatenating
strings in a loop.

Answer Posted / sitaram

string buffer and string builder classes are used to
concatenate the two or more strings in a loop.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a qms manual?

537


What is arraylist e?

553


When do you get classcastexception?

544


What do you understand by the bean persistent property?

547


What is keyword auto for?

634






What are the different collection views provided by maps?

557


Can finally block be used without a catch?

539


How do you read a char in java?

452


Explain how to convert any java object into byte array.

540


What do heavy weight components mean in java programming?

516


What are data types in programming?

546


How do you execute a thread in java?

499


Write a program to print 15 random numbers using foreach of java 8?

539


How to add menushortcut to menu item?

557


What are the important features of Java 11 release?

572