Connecting Tech Pros Worldwide Help | Site Map

having problem with Stream Tokenizer class of io package

Newbie
 
Join Date: Sep 2009
Location: jaipur,india
Posts: 1
#1: Sep 30 '09
i am confused about how to use the Stream Tokenizer class in java,
our teacher gave us a program in which v were to use the above class.
but i m not getting it.
so please help me about this.

the question was to create a java program to print the words of a file with their number of occurence using HashSet ,HashMap,Stream Tokenizer.
Lives Here
 
Join Date: Sep 2006
Posts: 12,070
#2: Sep 30 '09

re: having problem with Stream Tokenizer class of io package


Open the API specs for those classes and read them to find out what they do.
Then you should try the program and post if you get stuck with your code.
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,066
#3: Oct 2 '09

re: having problem with Stream Tokenizer class of io package


All the information you need on StingTokenizer class and any other Java class can be found in the Java API Documentation. This resource should get you pointed in the right direction... I recommend bookmarking the Java API Documentation and using it as your primary resource when developing in Java.

Please take the time to research the problem before you post your question. The experts here are more than willing to help you with a specific problem but you have to do your part to learn the basics. Please take the time to read over the posting guidelines specifically the section on Before you post your question.
Reply