• Post Reply Bookmark Topic Watch Topic
  • New Topic

OOP-2  RSS feed

 
Rajan Chhibber
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is it ok to use string tokenizer in OOP-2 (NaturalLanguageMultiply Assignment?
I use it break the string argument like "twenty-one".
am i heading in the right direction? any hints?
 
jason adam
Chicken Farmer ()
Ranch Hand
Posts: 1932
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess you could, but you don't need to. String objects work just fine. Check out the String API, all the methods you need to separate the strings are in there.
Jason
 
Marilyn de Queiroz
Sheriff
Posts: 9079
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It has been done that way.
 
Rajan Chhibber
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanx marilyn and jason
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!