I am in 10th grade and I am learning java.
Could you please tell the difference between the Stream tokenizer and String tokenizer.
I found it in my notes and could not understand its concept (as it was given in a very complicated manner).
Please explain in simple language.
Any help will be highly appreciated.
Thank you,
Shubhang.

One operates on a byte stream from a reader, while the other operates on a String (from any source, not just an input stream).

You may want to read this for further clarification between the two: http://www.codeguru.com/java/tij/tij0113.shtml

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.