KnowledgeBoat Logo
|

Computer Applications

Write down the syntax with reference to Java Programming to accept a word 'wd' through Stream Class

Input in Java

45 Likes

Answer

InputStreamReader read = new InputStreamReader(System.in);
BufferedReader in = new BufferedReader(read);
String wd = in.readLine();

Answered By

33 Likes


Related Questions