Computer Applications
Write down the syntax with reference to Java Programming to accept a character 'd' through Stream Class
Input in Java
72 Likes
Answer
InputStreamReader read = new InputStreamReader(System.in);
BufferedReader in = new BufferedReader(read);
char d = (char)in.read();
Answered By
54 Likes
Related Questions
Write down the syntax with reference to Java Programming to accept an integral value 'p' through Stream Class
Write down the syntax with reference to Java Programming to accept a fractional value (float) 'm' through Scanner Class
Write down the syntax with reference to Java Programming to accept a fraction value 'n' in double data type through Stream Class
Write down the syntax with reference to Java Programming to accept a word 'wd' through Stream Class