A. false
B. default
C. _object
D. a-class
您可能感兴趣的试卷
你可能感兴趣的试题
A. 3 / 2
B. 3 < 2
C. 3 * 4
D. 3 << 2
E. 3 * 22
F. 3 <<<2
Which statement is true?()
A. The MyCircle class is full encapsulated.
B. The diameter of a given MyCircle is guaranteed to be twice its radius.
C. Lines 6 and 7 should be in a synchronized block to ensure encapsulation.
D. The radius of a MyCircle object can be set without affecting its diameter.
A. The tag handler must extend body Tag.
B. The do After Body method is NOT called.
C. The set Body Content method is called.
D. It is never legal to return EVAL_BODY_BUFFERED from do Start Tag.
What is the result?()
A. The code will not compile.
B. The output is Caught Exception
C. The output is Caught IO Exception
D. The program executes normally without printing a message.
What is the result()?
A. Compilation will succeed.
B. Compilation will fail at line 5.
C. Compilation will fail at line 6.
D. Compilation will fail at line 14.
E. Compilation will fail at line 17.
What is the result?()
A. The code compiles and “s=” is printed.
B. The code compiles and “s=null” is printed.
C. The code does not compile because Strings is not initialized.
D. The code does not compile because because Strings cannot be referneed.
E. The code comiles.butt a NullPointerException is thrown when toString is called.
A. Char ch = “a”;
B. char ch = “”;
C. char ch = “café”;
D. char ch = “ucafe”;
E. char ch = “ucafe’;
F. char ch = “u10100’;
G. char ch = (char) true;
Which three logical expressions evaluate to true?()
A. (a = = c)
B. (d = = c)
C. (b = = d)
D. (a = = b)
E. (b = = c)
F. (d == 10.0)
What is the result? ()
A. The program prints “lava”.
B. The program prints “java”.
C. An error at line 7 causes compilation to fail.
D. Complication succeeds but the program throws an exception.
最新试题
Which code snippet, inserted at line 8, causes the value Company to be output?()
Given a JSP error page, which implicit object refers to the uncaught Throwable that resulted in th epage being invoked?()
Which the JSTL code snippet can be used to import content from another web resource?()
A web application uses the HttpSession mechanism to determine if a user is “logged in”. When a user supplies a valid user name and password, an HttpSession is created for that user. The user has access to the application for only 15 minutes after logging in. The code must determine how long the user has been logged in, and if this time is greater than 15 minutes, must destroy the HttpSession. Which method in HttpSession is used to accomplish this?()
Which the two are valid and equivalent?()
Given that session is a valid HttpSession object: Int max = session.getAttribute(“MyReallyLongName”); Which is true?()
A developer for the Company.com web site has been told that users may turn off cookie support in their browsers. What must the developer do to ensure that these customers can still use the web application?()
What code, inserted at line 21, is called prior to a session being migrated to a different JVM assuming the web application containing MyExample is deployed in a container which supports distributed applications?()
Which two produce the output "one, two and three"?()
For a given product instance, which three jsp:setProperty attributes must be used to initialized its properties form the HTML form? ()