Greetings all, I have another question. I'm working on building a vector and everytime I add another item, it replaces all the items in the vector with that item, so all prior additions are replaced. I'm using this:
customerList.addElement(cust2);
where customerList is my vector, and cust2 is...
What would be the best way to convert string concatenations to stringbuffer appends. I know if has a performance impact overall. For example, I want to output to the user: The count was somenumber.
Here's my line
System.out.println ("The count was " + countvariable +...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.