Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
6Activity
0 of .
Results for:
No results containing your search query
P. 1
testking sun 310-080 j2ee developer v7 0

testking sun 310-080 j2ee developer v7 0

Ratings: (0)|Views: 345|Likes:
Published by api-3775614

More info:

Published by: api-3775614 on Oct 16, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

05/09/2014

pdf

text

original

Sun 310-080
Java 2 Enterprise Edition (J2EE) Web Component Developer
Version 7.0
310 - 080
Leading the way in IT testing and certification tools,www. t estkin g.com
- 2 -
Important Note, Please Read Carefully
Study Tips

This product will provide you questions and answers along with detailed explanations carefully compiled and written by our experts. Try to understand the concepts behind the questions instead of cramming the questions. Go through the entire document at least twice so that you make sure that you are not missing anything.

Further Material
For this test TestKing also provides:
* Interactive Test Engine Examinator. Check out an Examinator Demo at
http://www.testking.com/index.cfm?pageid=724
Latest Version

We are constantly reviewing our products. New material is added and old material is revised. Free updates are available for 90 days after the purchase. You should check your member zone at TestKing an update 3-4 days before the scheduled exam date.

Here is the procedure to get the latest version:
1. Go towww.testking.com
2. Click on Member zone/Log in
3. The latest versions of all purchased products are downloadable from here. Just click the links.
For most updates, it is enough just to print the new questions at the end of the new version, not the
whole document.
Feedback
Feedback on specific questions should be send to feedback@testking.com. You should state: Exam
number and version, question number, and login ID.
Our experts will answer your mail promptly.
Explanations

Currently this product does not include explanations. If you are interested in providing TestKing
with explanations contactf eedb ack @t estking. c o m. Include the following information: exam, your
background regarding this exam in particular, and what you consider a reasonable compensation for
the work.

Copyright

Each pdf file contains a unique serial number associated with your particular name and contact information for security purposes. So if we find out that a particular pdf file is being distributed by you, TestKing reserves the right to take legal action against you according to the International Copyright Laws.

310 - 080
Leading the way in IT testing and certification tools,www. t estkin g.com
- 3 -
QUESTION NO: 1
Given:
11. public void testking(boolean a, boolean b){
12. if(a){

13. System.out.println(\u201cA\u201d);
14. }else if(a&&b){
15. System.out.println(\u201cA&&B\u201d);
16. }else{
17. if( !b ){
18. System.out.println(\u201cnotB\u201d);
19. }else{
20. System.out.println(\u201cELSE\u201d);
21. }
22. }
23. }

What is correct?

A. If a is true and b is true then the output is \u201cA&&B\u201d. B. If a is true and be is false then the output is \u201cnotB\u201d. C. If a is false and be is true then the output is \u201cELSE\u201d. D. If a is false and b is false then the output is \u201cELSE\u201d.

Answer: C
QUESTION NO: 2
Given:
1. public class ServletTest extends HttpServlet{
2.
public void goGet(
3.
HttpServletRequest request
4.
HttpServletResponse response)
5.

throws ServletException, IOException
6. {
7.

String message = *In doGet*;
8.
9.

}
10. }
Which two, inserted individually at line 8, will each place an entry in the servlet log file?
(Choose two)

A.log(message);
B.request.log(message);
C.getServletInfo().log(message);
D.getServletConfig().log(message);

Activity (6)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
lam04dt liked this
Ambas Chobsanti liked this
sibasisp liked this
ggardu liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->