Computer Science, asked by ken7296, 11 months ago

write a java statement to input or read the following from the user:- Character,String (use InputStreamReader,Buffered reader,DataInputstream like that)​

Answers

Answered by pyarip
4

Answer:

For character input statement is

variable=(char)System.in.read ();

For string input statement is

Variable=in.readLine ();

Answered by Anonymous
1

Answer:

Input Statement:

For character - Variable= (char)System.in.read

For string - Variable = in.readLine()

Similar questions