0 / 60 seg.

Evaluate the purpose of this Java code involving a Scanner object:

Scanner sc = new Scanner(System.in);
boolean b = sc.nextBoolean();