Which of the following lines of code instantiates a Scanner to read input from the console?

a) Scanner scanner = new Scanner(System.in);
b) Scanner scanner = new Scanner(Console.in);
c) Scanner scanner = new Scanner(inputStream);
d) Scanner scanner = new Scanner(System.out);