|
Technical Interview Questions
Visual Basic Interview Question
.NET Web Interview Questions
.NET
Interview Questions
C#
Interview Questions
.........More
Source Codes
Asp .NET Source Codes
Asp VB Script Source Codes
.........More
Soft Skills
Communication Skills
Leadership Skills
.........More
|
|
Asp/VB Script Source Codes
StringBuffer
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
public class StringBuilderDemo{
public static String appendItems(List list) {
StringBuilder b = new StringBuilder();
for (Iterator i = list.iterator(); i.hasNext(); ) {
b.append(i.next())
.append(" ");
}
return b.toString();
}
public static void main(String[] args) {
List list = new ArrayList();
list.add("I");
list.add("play");
list.add("Bourgeois");
list.add("guitars");
list.add("and");
list.add("Huber");
list.add("banjos");
System.out.println(StringBuilderDemo.appendItems(list));
}
}
<<<----- Return to
Asp/VB Script Source
Code Questions Page.
Have a Question ?
post your questions here. It
will be answered as soon as possible.
Check
Microsoft .Net Interview Questions
for more Microsoft
.Net Interview Questions with Answers.
Check
.Net Database Interview
Questions for more .Net Database Interview Questions with answers
Check
Job Interview Questions
for more Interview Questions with Answers
|