Ee

74 3

How to express>> statements in c + + in java?
Like output statements, <<in c + + can be replaced by system. Out. Print ("") in java.
Cin>> a [ I ] how to write in java?

3 Answers

117 0
java.util.Scanner sin=new java.util.Scanner(System.in);
String input=sin.nextLine();
...