单项选择题
What is the result when method testIfA is invoked?()
A.True B.Not true C.An exception is thrown at runtime. D.Compilation fails because of an error at line 12. E.Compilation fails because of an error at line 19.
Which regular expression, inserted at line 12, correctl...
Which regular expression, inserted at line 12, correctly splits test into "Test A", "Test B", and "Test C"?()
A.String regex = ""; B.String regex = " "; C.String regex = ".*"; D.String regex = "\\s"; E.String regex = "\\.\\s*"; F.String regex = "\\w[\.] +";
What is the result?() A.7B.49C.343D.Compilation fails.E...
What is the result?()
A.7 B.49 C.343 D.Compilation fails. E.An exception is thrown at runtime.
Which code fragment, inserted at line 23, allows the co...
Which code fragment, inserted at line 23, allows the code to compile?()
A.df = new DateFormat(); B.df = Date.getFormat(); C.df = date.getFormat(); D.df = DateFormat.getFormat(); E.df = DateFormat.getInstance();