Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
TestKing Java 310-055 v12 SCJP Java 2 Platform Std. Ed. 5.0

TestKing Java 310-055 v12 SCJP Java 2 Platform Std. Ed. 5.0

Ratings: (0)|Views: 434|Likes:
Published by api-19632146

More info:

Published by: api-19632146 on Nov 27, 2009
Copyright:Attribution Non-commercial


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





Sun 310-055
Sun Certified Programmer for the Java 2 Platform,
Standard Edition 5.0
Version 12.0
Leading the way in IT testing and certification tools, www.testking.com
Important Note, Please Read Carefully
Other TestKing products

A) Offline Testing engine
Use the offline Testing engine product topractice the questions in an exam environment.
B) Study Guide (not available for all exams)
Build a foundation of knowledge which will be useful also after passing the exam.

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 and 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 onMember zone/Log in
3.The latest versions of all purchased products are downloadable from here. Just click the
For mostupdates,itisenough just to print the new questions at the end of the new version,
not the whole document.


If you spot a possible improvement then please let us know. We always interested in
improving product quality.
Feedback should be send to feedback@testking.com. You should include the following:
Exam number, version, page number, question number, and your login ID.

Our experts will answer your mail promptly.

Each iPAD 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 iPAD file is
being distributed by you, TestKing reserves the right to take legal action against you
according to the International Copyright Laws.

This product does not include explanations at the moment. If you are interested in
providing explanations for this exam, please contact feedback@testking.com.
Leading the way in IT testing and certification tools, www.testking.com
Given the code in the exhibit.
What is the result?

A. Compilation fails
B. 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

The following code can be tested:
import java.io.*;
public class Forest implements Serializable{
private Tree tree=new Tree();
public static void main(String[] args){
Forest f=new Forest();

FileOutputStream fs=new FileOutputStream("Forest.ser");
ObjectOutputStream os=new ObjectOutputStream(fs);

Activity (12)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
dan10828 liked this
Mirdhula21 liked this
mangeshdarekar liked this
kunal_fun111 liked this
yogesh007t liked this
yogesh007t liked this
r214 liked this
hareeharanmail liked this

You're Reading a Free Preview

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