storing input in an int.
someone on another forum said that when you want to store input in an int you have to use something like this:
BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
input = Integer.parseInt(br.readLine());
amnd u have to import "java.io"
my first question is: how do you import java.io?
i typed this:
package java.io;
is this correct? it says: "Class, interface or enum expected."
whats wrong?
and second: is it correct what the person on the other forum said? because to me it looks a bit long and complicated for something that's so basic. in c++ its just cin <<. thats much more basic.

