Explain Stream Tokenizer?

Answer Posted / neema

The StreamTokenizer class takes an input stream and parses
it into "tokens", allowing the tokens to be read one at a
time.

Reader r = new BufferedReader(new InputStreamReader(is));
StreamTokenizer st = new StreamTokenizer(r);

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is json parser in java?

657


What is the difference between a constructor and a method?

618


What is the difference between a scrollbar and a scrollpane?

606


Why do we use predicate in java?

596


What do you mean by pointer value and address?

608






Is zero a natural number?

611


Why java is considered as platform independent?

620


Explain different states of a thread in java?

630


If we don’t want some of the fields not to serialize how to do that?

595


What is hashset in java?

569


whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net

1698


Why is string builder not thread safe?

631


Can we extend immutable class?

579


How do you sort arraylist in descending order?

604


What class allows you to read objects directly from a stream?

918