文档介绍:310-025 310-025
Sun Java Certified Programmer
Version 1
Leading the way in IT testing and certification tools,
- 1 -
310-025
Important Note
Please Read Carefully
This product will provide you questions and answers along with detailed explanations piled and
written by our experts. Try to understand the concepts behind the questions instead of just cramming the
questions. Go through the entire document at least twice so that you make sure that you are not missing
anything.
We are constantly adding and updating our products with new questions and making the previous versions
better so email us once before your exam and we will send you the latest version of the product.
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 particular pdf file being distributed by you. Testking will reserve the
right to take legal action against you according to the International Copyright Law. So don’t distribute this PDF
file.
Leading the way in IT testing and certification tools,
- 2 -
310-025
Question No: 1
Given:
1. public class test (
2. public static void main (String args[]) {
3. int i = 0xFFFFFFF1;
4. int j = ~i;
5.
6. }
7. )
What is the decimal value of j at line 5?
A. 0
B. 1
C. 14
D. –15
E. An error at line 3 pilation to fail.
F. An error at line 4 pilation to fail.
Answer: C
Question No: 2
Given:
Integer i = new Integer (42);
Long 1 = new Long (42);
Double d = new Double ();
Which two expressions evaluate to True? (Choose Two)
A. (i ==1)
B. (i == d)
C. (d == 1)
D. ( (d))
E. ( (i))
F. ( (42))
Answer: D, E
Leading the way in IT testing and certification tools,
- 3 -
310-025
Question No: 3
Exhibit :
1. p