单项选择题
If the user types the password aiko when prompted, what is the result?()
A.password:got
B.password:got aiko
C.password:aiko;got aiko
D.An exception is thrown at runtime.
E.Compilation fails due to an error on line 8.
点击查看答案
相关考题
-
问答题
Place the Fragments into the program, so that the program will get lines from a text file. display them, and then close all the resources. -
单项选择题
What is the result?()
A.Compilation fails.
B.An exception is thrown at runtime.
C.An instance of Forest is serialized.
D.An instance of Forest and an instance of Tree are both serialized. -
单项选择题
Which code, inserted at line 14, will allow this class to correctly serialize and deserialize?()
A.s.defaultReadObject();
B.this = s.defaultReadObject();
C.y = s.readInt(); x = s.readInt();
D.x = s.readInt(); y = s.readInt();
