请帮我看看这些题怎么做
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:
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:
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:
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:
E) How are parameters referenced by default in VB.Net?
• 1. ByObject
• 2. ByVal
• 3. ByRef
• 4. None
Ans:
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:
H) In VB.NET, what is used to join strings
• 1. Plus sign
• 2. Ampersand
• 3. both
Ans:
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: