Analyze the outcome of this Java code:
String text = System.console().readLine(); int number = Integer.parseInt(text);
Reads an integer directly
Reads a number as a string and converts it to an integer
Reads a string without conversion
Error in code