|
A) In VB.Net, what is the method that is available without creating the instance of the class
• 1. Instance method
• 2. overloading method
• 3. Shared method
• 4. class methods
Ans: ______3
因为在VB.NET中,Shared method是Static method
B) In VB.Net, what is finalise method and what are the role of it?
• 1. Release object memory
• 2. Release memory
• 3. it calls when page is closed
Ans: _____2
C) In VB.Net, passing an array using ByRef or ByVal makes a difference if you use a ReDim statement inside the called procedure. Which array size will be affected ?
• 1. an array passed by ByVal
• 2. an array passed by ByRef
• 3. both affected
• 4. none affected
Ans: _____仔细想想,是2
D) In VB.Net, ParamArray arguments are passed by in a function?
• 1. Always by value
• 2. Always by reference
• 3. both
• 4. none
Ans: _____2,一猜就是它
E) How are parameters referenced by default in VB.Net?
• 1. ByObject
• 2. ByVal
• 3. ByRef
• 4. None
Ans: _____2,同上
F) Does ISDBNull() exsist in VB.Net?
Select Answer:
• 1. True
• 2. False
Ans: _____这个不知道,五十五十
G) In VB.Net, constructor is always
• 1. sub new()
• 2. constructor()
• 3. base class()
• 4. the class name itself
Ans: _____1,它就是这样,没得解
H) In VB.NET, what is used to join strings
• 1. Plus sign
• 2. Ampersand
• 3. both
Ans: _____2,第1个应该不用了
I) In Java, which statements ARE true?
1. When a thread sleeps, its locks are released
2. If a class has synchronized code, multiple threads can still access the non synchronized code.
3. Methods and variables can be protected from concurrent access problems by marking them with the synchronized keyword.
4. When a thread invokes wait(), its locks are released.
5. A static method cannot be synchronized
Ans: _____
J) Which TWO combinations below consist (and only) the necessary classes in package java.io to read a single line of Traditional Chinese text via TCP connections?
I. Socket
II. TCPSocket
III. PipedInputStream
IV. BufferedInputStream
V. BufferedReader
VI. InputStreamReader
VII. LineNumberReader
VIII. StringReader
1. (I) + (III) + (VI) + (VII)
2. (I) + (IV) + (VI) + (V)
3. (II) + (VI) + (VII)
4. (I) + (IV) + (VI) + (VII)
5. (I) + (VI) + (VIII)
Ans: _____
JAVA的这两题对我来说太难了,就算不小心答对了也没意思.
附:为什么我的积分全部不见了,我记得我有100多分的啊?!
powerwind
新丁
UID 5311
精华 0
积分 0
帖子 83
阅读权限 10
注册 2004-11-23
来自 guangdong |
|