?? mockcert04.txt
字號:
True or False.
The class String has a concat() method, while the StringBuffer class has an append() method.
Only One:
1) True
2) False
Question 96
===========================================================
True or False.
The primative wrapper classes Integer, Double and Float all inherit directly from the java.lang.Wrapper class.
Only One:
1) True
2) False
Question 97
===========================================================
Which of the following are valid methods for the Applet class.
Mutiple:
1) start()
2) stop()
3) init()
4) destroy()
5) kill()
Question 98
===========================================================
True or False.
A label can only display a single line of text.
Only One:
1) True
2) False
Question 99
===========================================================
Which of the following are valid methods for the Math class.
Mutiple:
1) random()
2) Random()
3) toDegrees()
4) square()
5) sqr()
Question 400
===========================================================
True or False.
JDK 1.2 contains an Arrays class which provides various methods for manipulating arrays (such as searching and sorting).
Only One:
1) True
2) False
Question 401
===========================================================
True or False.
The Class class has no public constructor.
Only One:
1) True
2) False
Question 402
===========================================================
Which of the following statements is true with regard to persistence.
Only One:
1) "Serializable" is a keyword within the Java language.
2) "Serializable" is an interface, which classes can implement.
3) "Serializable" is a class, which other classes can extend.
4) None of the above.
Question 403
===========================================================
Which of the following statements is correct with regard to threads.
Only One:
1) "Runnable" is a keyword within the Java language, used to identify classes which can exist as separate threads.
2) "Runnable" is an interface, which classes can implement when they wish to execute as a separate thread.
3) "Runnable" is a class, which classes can extend when they wish to execute as a separate thread.
4) None of the above.
5) java does not support threads.
Question 404
===========================================================
Select the statements which are valid from the list below.
Mutiple:
1) The primative data type "char" is 16-bits wide.
2) Unicode uses 16-bits to represent a character.
3) Unicode uses 32-bits to represent a character.
4) UTF uses 24-bits to represent a character.
5) UTF uses as many bits as are needed to represent a character.
Question 405
===========================================================
When a Frame is constructed, it has no size and is not displayed. Which of the following methods can be called to display the Frame.
Mutiple:
1) setSize()
2) setBounds()
3) setDisplayable()
4) setVisible()
5) setState()
Question 406
===========================================================
Which one of the following is correct (assume A and B are correctly defined).
Mutiple:
1) if (A instanceOf B)
2) if (A instanceof B)
3) if (A.instanceOf(B))
4) if (A instanceof(B))
Question 407
===========================================================
What is displayed when the following is executed:
double d1 = -0.5;
System.out.println("Ceil d1 = " + Math.ceil(d1));
System.out.println("floor d1 = " + Math.floor(d1));
Only One:
1) Ceil d1 = -0.0
floor d1 = -1.0
2) Ceil d1 = 0.0
floor d1 = -1.0
3) Ceil d1 = -0.0
floor d1 = -0.0
4) Ceil d1 = 0.0
floor d1 = 0.0
5) Ceil d1 = 0
floor d1 = -1
Question 408
===========================================================
Select the layour manager which is described by the following:
"It arranges its constituent components in horizontal rows. It will attempt to fit as many components as possible into the first row, and remaining components will spill over into subsequent rows. Components always appear left to right, in the order they were added to the container."
Mutiple:
1) Flow Layout
2) Grid Layout
3) Card Layout
4) Transverse Flow Layout
5) Grid Bag Layout
Question 409
===========================================================
True or False
The argument for a "case" statement must be a constant or a constant expression which can be evaluated at compile time.
Only One:
1) True
2) False
Question 410
===========================================================
Select the valid code fragments from the following list:
Mutiple:
1) public transient static final int _FRAMEX = 850;
2) this("a", "b");
[assuming a constructor of the type xxx(String, String) exists for this class]
3) private transient static final int _FRAMEX = 850;
4) boolean b = 0;
JTest
Sun Certified Programmer for Java2 Platform
Examination Score Report
CANDIDATE: JTest
CANDIDATE ID: JT12345678 DATE:2002-3-1(YYYY-MM-DD)
Exam: JTest SCJP Mock Exam
Exam Results:
Correct Answers Your Answers Result
1 2 3 4 5 1 2 3 4 5
------------------------------------------------------------------------------------
Question # 01 3 3 0
------------------------------------------------------------------------------------
Question # 02 4 4 0
------------------------------------------------------------------------------------
Question # 03 4 4 0
------------------------------------------------------------------------------------
Question # 04 4 4 0
------------------------------------------------------------------------------------
Question # 05 1 2 1 2 0
------------------------------------------------------------------------------------
Question # 06 1 3 4 5 1 3 4 5 0
------------------------------------------------------------------------------------
Question # 07 5 5 0
------------------------------------------------------------------------------------
Question # 08 2 2 0
------------------------------------------------------------------------------------
Question # 09 4 4 0
------------------------------------------------------------------------------------
Question # 10 5 5 0
------------------------------------------------------------------------------------
Question # 11 4 4 0
------------------------------------------------------------------------------------
Question # 12 2 2 0
------------------------------------------------------------------------------------
Question # 13 3 3 0
------------------------------------------------------------------------------------
Question # 14 2 2 0
------------------------------------------------------------------------------------
Question # 15 1 1 0
------------------------------------------------------------------------------------
Question # 16 1 1 0
------------------------------------------------------------------------------------
Question # 17 4 4 0
------------------------------------------------------------------------------------
Question # 18 3 3 0
------------------------------------------------------------------------------------
Question # 19 2 2 0
------------------------------------------------------------------------------------
Question # 20 3 3 0
------------------------------------------------------------------------------------
Question # 21 3 3 0
------------------------------------------------------------------------------------
Question # 22 3 3 0
------------------------------------------------------------------------------------
Question # 23 1 2 5 1 2 5 0
------------------------------------------------------------------------------------
Question # 24 5 5 0
------------------------------------------------------------------------------------
Question # 25 4 4 0
------------------------------------------------------------------------------------
Question # 26 2 3 2 3 0
------------------------------------------------------------------------------------
Question # 27 3 3 0
------------------------------------------------------------------------------------
Question # 28 2 5 2 5 0
------------------------------------------------------------------------------------
Question # 29 3 3 0
------------------------------------------------------------------------------------
Question # 30 2 2 0
------------------------------------------------------------------------------------
Question # 31 1 1 0
------------------------------------------------------------------------------------
Question # 32 3 4 5 3 4 5 0
------------------------------------------------------------------------------------
Question # 33 2 3 5 2 3 5 0
------------------------------------------------------------------------------------
Question # 34 1 5 1 5 0
------------------------------------------------------------------------------------
Question # 35 2 3 2 3 0
------------------------------------------------------------------------------------
Question # 36 3 3 0
------------------------------------------------------------------------------------
Question # 37 1 2 1 2 0
------------------------------------------------------------------------------------
Question # 38 2 2 0
------------------------------------------------------------------------------------
Question # 39 1 3 4 1 3 4 0
------------------------------------------------------------------------------------
Question # 40 1 2 3 4 5 1 2 3 4 5 0
------------------------------------------------------------------------------------
Question # 41 1 2 3 4 5 1 2 3 4 5 0
------------------------------------------------------------------------------------
Question # 42 2 3 4 2 3 4 0
------------------------------------------------------------------------------------
Question # 43 2 2 0
------------------------------------------------------------------------------------
Question # 44 1 2 5 1 2 5 0
------------------------------------------------------------------------------------
Question # 45 4 4 0
------------------------------------------------------------------------------------
Question # 46 3 4 5 3 4 5 0
------------------------------------------------------------------------------------
Question # 47 4 5 4 5 0
------------------------------------------------------------------------------------
Question # 48 3 3 0
------------------------------------------------------------------------------------
Question # 49 1 3 5 1 3 5 0
------------------------------------------------------------------------------------
Question # 50 3 3 0
------------------------------------------------------------------------------------
Question # 51 1 1 0
------------------------------------------------------------------------------------
Question # 52 4 4 0
------------------------------------------------------------------------------------
Question # 53 1 1 0
------------------------------------------------------------------------------------
Question # 54 4 4 0
------------------------------------------------------------------------------------
Question # 55 2 2 0
------------------------------------------------------------------------------------
Question # 56 2 2 0
------------------------------------------------------------------------------------
Question # 57 2 4 2 4 0
------------------------------------------------------------------------------------
Question # 58 1 5 1 5 0
------------------------------------------------------------------------------------
Question # 59 2 2 0
------------------------------------------------------------------------------------
Question # 60 2 3 2 3 0
------------------------------------------------------------------------------------
Question # 61 1 2 1 2 0
------------------------------------------------------------------------------------
Question # 62 1 1 0
------------------------------------------------------------------------------------
Question # 63 2 2 0
------------------------------------------------------------------------------------
Question # 64 2 4 2 4 0
------------------------------------------------------------------------------------
Question # 65 3 4 5 3 4 5 0
------------------------------------------------------------------------------------
Question # 66 1 2 3 1 2 3 0
------------------------------------------------------------------------------------
Question # 67 1 1 0
------------------------------------------------------------------------------------
Question # 68 2 2 0
------------------------------------------------------------------------------------
Question # 69 3 3 0
------------------------------------------------------------------------------------
Question # 70 3 3 0
------------------------------------------------------------------------------------
Question # 71 5 5 0
------------------------------------------------------------------------------------
Question # 72 1 1 0
------------------------------------------------------------------------------------
Question # 73 3 3 0
------------------------------------------------------------------------------------
Question # 74 3 3 0
------------------------------------------------------------------------------------
Question # 75 1 2 4 5 1 2 4 5 0
------------------------------------------------------------------------------------
Question # 76 4 5 4 5 0
------------------------------------------------------------------------------------
Question # 77 1 1 0
------------------------------------------------------------------------------------
Question # 78 1 1 0
------------------------------------------------------------------------------------
Question # 79 1 1 0
------------------------------------------------------------------------------------
Question # 80 1 1 0
------------------------------------------------------------------------------------
Question # 81 3 3 0
------------------------------------------------------------------------------------
Question # 82 1 2 1 2 0
------------------------------------------------------------------------------------
Question # 83 3 3 0
------------------------------------------------------------------------------------
Question # 84 5 5 0
------------------------------------------------------------------------------------
Question # 85 1 2 3 4 1 2 3 4 0
------------------------------------------------------------------------------------
Question # 86 1 2 3 1 2 3 0
------------------------------------------------------------------------------------
Question # 87 4 4 0
------------------------------------------------------------------------------------
Question # 88 1 1 0
------------------------------------------------------------------------------------
Question # 89 2 2 0
------------------------------------------------------------------------------------
Question # 90 1 1 0
------------------------------------------------------------------------------------
Question # 91 3 3 0
------------------------------------------------------------------------------------
Question # 92 1 2 3 4 5 1 2 3 4 5 0
------------------------------------------------------------------------------------
Question # 93 2 2 0
------------------------------------------------------------------------------------
Question # 94 2 2 0
------------------------------------------------------------------------------------
Question # 95 1 1 0
------------------------------------------------------------------------------------
Question # 96 2 2 0
------------------------------------------------------------------------------------
Question # 97 1 2 3 4 1 2 3 4 0
------------------------------------------------------------------------------------
Question # 98 1 1 0
------------------------------------------------------------------------------------
Question # 99 1 3 1 3 0
------------------------------------------------------------------------------------
Question # 100 1 1 0
------------------------------------------------------------------------------------
Question # 101 1 1 0
------------------------------------------------------------------------------------
Question # 102 2 2 0
------------------------------------------------------------------------------------
Question # 103 2 2 0
------------------------------------------------------------------------------------
Question # 104 1 2 5 1 2 5 0
------------------------------------------------------------------------------------
Question # 105 1 2 4 1 2 4 0
------------------------------------------------------------------------------------
Question # 106 2 2 0
------------------------------------------------------------------------------------
Question # 107 1 1 0
------------------------------------------------------------------------------------
Question # 108 1 1 0
------------------------------------------------------------------------------------
Question # 109 1 1 0
------------------------------------------------------------------------------------
Question # 110 1 2 3 1 2 3 0
------------------------------------------------------------------------------------
------------------------------------------------------------------------------------
Total Correct Answer:110
PASSING SCORE:61%
YOUR SCORE:100%
TEST STATUS:Pass
Mock Exam is only a means of measuring your knowledge and skill level
In order to help you further your growth and achievement in the Java Language,
Please visit online at
http://8620.virtualave.net
Thank you
Shen Yuan
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -