Saturday, 24 December 2011

46.Which interface allows to implement the Dispose method to do cleanup work


A.   Idestructor
B.  Icleanup
C.  Idisposable
 Ans:B

45.The constructors in VB.Net is similar to which event in previous versions of VB


A.   Class_Load
B.  Class_Terminate
C.  Class_Initialize
Ans:C

44. How do you create a Read only Property in VB.NET


A.   Using Only Get..EndGet with in property definition
B.   Using Only Set..EndSet with in property definition
C.  Using both Get and Set
Ans:A

43. How do you terminate code execute with in a VB.NET method_________?


A.  Exit
B.  Close Sub
C.  Exit Sub
 D. Kill
Ans: C

42. The methods which return the values back to the calling code are called as__________?


A.   Constructors
B.   Interrogative methods
C.   Imperative methods
Ans: B 

41. Methods declared with the following modifier are not accessible outside the class?


A.   Private
B.   Protected
C.  Friend
D.  Global
Ans:A 

40. Which of the following class does not belong to Collection namespace


 A.   ArrayList
 B.   Queue
 C.   DictionaryList
 D.   Stack
 Ans:C