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

Is linked list a linear or non-linear data structure?

702


What does exclamation mean in java?

744


Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?

720


Is null a keyword in java?

703


Do we have pointers in java?

693






What is the use of parseint in java?

721


Where is const variable stored?

672


How do you get length in java?

746


Does string isempty check for null?

742


What is slash r?

728


What are the advantages of autoboxing?

705


What is the mapping mechanism used by java to identify IDL language?

757


What is a key in java?

665


What is a generic data type?

722


What is lambda in java?

708