2
24
234
246
2346
Compilation fails.
单选题Given: What is the result?()A2B3C12D23E123FCompilation fails.GAn exception is thrown at runtime.
点击查看答案
单选题Given: What is the result?()ACompilation fails.BAn exception is thrown at runtime.CThe code executes normally and prints "sleep".DThe code executes normally, but nothing is printed.
单选题Given: What is the result?()A2B24C234D246E2346FCompilation fails.
单选题Given: What is the result?()ACompilation succeeds.BCompilation fails due to multiple errors.CCompilation fails due to an error only on line 20.DCompilation fails due to an error only on line 21.ECompilation fails due to an error only on line 22.
单选题Given: What is the result?()AtestBnullCAn exception is thrown at runtime.DCompilation fails because of an error in line 1.ECompilation fails because of an error in line 4.FCompilation fails because of an error in line 5.
单选题Given: What is the result?()ACanadaBnull CanadaCCanada nullDCanada CanadaECompilation fails due to an error on line 26.FCompilation fails due to an error on line 29.
单选题Given: What is the result?()ABBB, followed by an Exception.CCompilation fails due to an error on line 9.DCompilation fails due to an error on line 14.EAn Exception is thrown with no other output.