Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
Look up keyword or section
Like this
25Activity

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
scjp dump 310-055-Q&A

scjp dump 310-055-Q&A

Ratings:

4.25

(1)
|Views: 1,399|Likes:
Published by venu_vml

More info:

Published by: venu_vml on Oct 20, 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 Certified Programmer for the Java2Platform, Standard Edition 5.0Exam 310-055
 
Edition 2.0 
 © 2005- 2006 Test Killer, LTD All Rights Reserved
 
310-0551http://www.testkiller.comhttp://www.troytec.com
 
 
QUESTION
1:Given the code in the exhibit.What is the result?A. Compilation failsB. An exception is thrown at runtime.C. An instance of Forest is serialized.D. An instance of Forest and an instance of Tree are both serialized.
Answer:
B
QUESTION
2:Which code, inserted ay line 14, will allow this class to correctly serialized and desterilize?A. S. default ReadObject ( );B. This = s.defaultReadObject ( );C. Y = s.default ( ); x = s.readInt ( );D. X = s.readlInt; y = s.readInt ( );
Answer:
D
QUESTION
3:Given the exhibit.What is the result?A. 0B. 1C. 4D. Compilation failsE. An exception is thrown at runtime
Answer:
D
QUESTION
4:Given the exhibit:
310-0552http://www.testkiller.comhttp://www.troytec.com
 
 The variable df is an object of type DateFormat that has been initialized in line 11.What is the result if this code is run on December 14,2000?A. The value of S is 14 - dic-2004B. The value of S is Dec 14, 2000C. An exception is thrown at runtimeD. Compilation fails because of an error in line 13.
Answer:
D
QUESTION
5:The doesFileExist method takes an array of directory names representing a path from the root filesystem and a filename. The method returns true if the file exists, falst if does not.Place the code fragments in position to complete this method.
Answer:
 
310-0553http://www.testkiller.comhttp://www.troytec.com

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)//-->