Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Charlie Miller   on Jul 31 In Java Category.

  
Question Answered By: Murad Bashara   on Jul 31

nextToken() returns a string  - so doesn't need recasting.
the overloaded '+' string operator creates another intermediate
StringBuffer object.
not really an issue for a beginner, but more efficient not to use it too
much.
but I did mean to type:

buf.append(tok.nextToken()).append("<BR>");

Share: 

 

This Question has 5 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on replacing /n with <B >in jdk1.3 Or get search suggestion and latest updates.


Tagged: