Given that c is a reference to a valid java.io.Console object, and:<br /> 11.String pw = c.readPassword("%s", "pw: ");<br /> 12.System.out.println("got " + pw);<br /> 13.String name = c.readLine("%s", "name: ");<br /> 14.System.out.println(" got ", name);<br /> If the user types fido when prompted for a password, and then responds bob when prompted for a name,what is the result?()
A、An exception is thrown at runtime
B、pw: fido got fido name: bob got bob
C、pw: got fido name: bob got bob
D、Compilation fails.