5) A, E.
Tham khảo: http://msdn.microsoft.com/en-us/libr...hc(VS.80).aspx
19) C.
Lần sau thì bạn chịu khó google nhé, toàn câu đơn giản trả lời cũng ngại :">
5)
Which of the following statements are true with respect to Static constructors. (choose two)
A) Static constructors cannot take parameters.
B) Static constructors can have accessibility modifiers.
C) Static constructors cannot be called explicitly.
D) Static constructors can be called explicitly or implicitly.
E) Static constructors are called when the class is loaded.
19)
class Question{
public Hashtable Directory = new Hashtable();
public string this[string Person] {
get {
return (string) Directory[Person];
}
set {
Directory[Person] = value;
}
}
}
class Test {
static void Main() {
Question Dir = new Question();
// Add code here. . . . . . . .
}
}
Two persons named SMITH and MARTIN are to be added in the directory created above. To achieve this which of the following are the valid statements that can be added in the space specified in the code above?
A) Dir [“SMITH”]; Dir [“MARTIN”];
B) Directory [“S”]=”SMITH”; Directory [“M”]=”MARTIN”;
C) Dir [“S”]=”SMITH”; Dir [“M”]=”MARTIN”;
D) Directory [“SMITH”]=”S”; Directory [“MARTIN”]=”M”;
5) A, E.
Tham khảo: http://msdn.microsoft.com/en-us/libr...hc(VS.80).aspx
19) C.
Lần sau thì bạn chịu khó google nhé, toàn câu đơn giản trả lời cũng ngại :">
ò thank ....
Tiếp nhé :
11)
Assuming that I have several clients who would like to receive notification when a particular event occurs. Putting all of them in a ______ type of delegate can help call all the clients when a particular event occurs.
A) Single Cast delegate
B) Addable delegate
C) Multi Cast delegate.
D) Multi level Delegate
8)
Which of the following statements are true with respect to Static constructors ? (choose three)
A) A class has no other constructors than those that are actually declared in the class
B) A constructor-declaration may include a valid combination of the four access modifiers.
C) Constructors are not inherited
D) The identifier of a constructor-declarator must not name the class in which the constructor is declared.
E) A constructor-declaration may include a set of attributes.
16)
Which of the following statements are true with respect to try-catch block? (choose two)
A) The last catch that is capable of handling the exception is executed.
B) catch statement are examined in order in which they appear .
C) try statement determines which catch should be used to handle an exception.
ai trả lời dùm tiếp xem
up nào..............