An exception is thrown at runtime.
Pi is approximately 3.
Pi is approximately 3.141593.
Compilation fails.
第1题:
现有importjava.io.PrintWriter;classDoFormat{publicstaticvoidmain(String[]args){intx=42;inty=12345;floatZ-7;System.out.format("一%4d-",X);System.out.format("-%4d-",y);System.out.format("-%4.ld-",z);}}结果为:()
A.编译失败
B.-42--1234--7.0-
C.-42--1234--7.0-
D.-42--12345--7.0-
E.运行时异常被抛出
第2题:
A.Anexceptionisthrownatruntime.
B.Piisapproximately3.
C.Piisapproximately3.141593.
D.Compilationfails.
第3题:
ClicktheExhibitbutton.Given:11.<%com.example.Advisoradvisor=newcom.example.Advisor();%>12.<%request.setAttribute("foo",advisor);%>Assumingtherearenoother"foo"attributesinthewebapplication,whichthreearevalidELexpressionsforretrievingtheadvicepropertyofadvisor?()
A.${foo.advice}
B.${request.foo.advice}
C.${requestScope.foo.advice}
D.${requestScope[foo[advice]]}
E.${requestScope["foo"]["advice"]}
第4题:
第5题:
A.final
B.static
C.native
D.public
E.private
第6题:
A.Compilationfails.
B.Piisapproximately3.
C.Piisapproximately3.141593.
D.Anexceptionisthrownatruntime.
第7题:
Given:11.Stringtest="TestA.TestB.TestC.";12.//insertcodehere13.String[]result=test.split(regex);Whichregularexpression,insertedatline12,correctlysplitstestinto"TestA","TestB",and"TestC"?()
A.Stringregex="";
B.Stringregex="";
C.Stringregex=".*";
D.Stringregex="\\s";
E.Stringregex="\\.\\s*";
第8题:
importjava.io.PrintWriter;classDoFormat{publicstaticvoidmain(String[]args){intx=42;inty=12345;floatz=7;System.out.format("-%4d-",x);System.out.format("-%4d-",y);System.out.format("-%4.1d-",z);}}结果为:()
A.编译失败
B.-42--1234--7.0-
C.-42--1234--7.0-
D.运行时异常被抛出
第9题:
A(73)is a value that never changes, for example: the value of Pi(approximately 3.14).
A.variable
B.string
C.Boolean
D.constant
第10题:
A customer needs approximately 15 to 20 wireless APs for RF coverage. Given that the customer is going to use the 1010 light weight AP with the advanced feature set, what other product is required to complete this operational functionality? ()