KnowledgeBoat Logo
|

Computer Applications

Write down the syntax with reference to Java Programming to accept a character 'd' through Stream Class

Input in Java

71 Likes

Answer

InputStreamReader read = new InputStreamReader(System.in);
BufferedReader in = new BufferedReader(read);
char d = (char)in.read();

Answered By

53 Likes


Related Questions