General Questions

Question 11 :

Suppose a Generic class called SortObjects is to be made capable of sorting objects of any type (Integer, Single, Byte etc.). Which of the following programming constructs should be used to implement the comparision function?

A). Namespace
B). Interface
C). Encapsulation
D). Delegate
E). Attribute
Answer : Option D

Question 12 :

With which of the following can the ref keyword be used?

1. Static data
2. Instance data
3. Static function/subroutine
4. Instance function/subroutine

A). 1, 2
B). 3, 4
C). 1, 3
D). 2, 4
E). All of the above
Answer : Option B