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
4
Answer:
For character input statement is
variable=(char)System.in.read ();
For string input statement is
Variable=in.readLine ();
Answered by
1
Answer:
Input Statement:
For character - Variable= (char)System.in.read
For string - Variable = in.readLine()
Similar questions