-
-
What is the significance of Shadowing a method in VB.Net ?
A) It makes a method OverridableB) It makes a method not inheritableC) It replaces all the implementation from high in the inheritance chain
-
Which is not a collection type in VB.Net
A) HashtableB) ArrayListC) HeapD) Stack
-
Which interface allows to implement the Dispose method to do cleanup work
A) IcleanupB) IdisposableC) Idestructor
-
How do you trigger an event in VB.NET
A) RaiseEvent keywordB) TriggerEvent keywordC) AddEvent KeywordD) None
-
Which of the following class does not belong to Collection namespace
A) ArrayListB) QueueC) StackD) DictionaryList
-
What is the maximum no of dimension that an array can have in VB.NET ?
A) 3B) 5C) 32D) Unlimited
-
How do we implement private interfaces
A) Using Inherits KeywordB) Using Implements KeywordC) Private interfaces can not be implementedExplanation: Interfaces must always be declared as public so that they can be implemented or inherited
-
Which interface provides the fast, connected, forward only access to data source
A) IdataRecordB) IdatabaseC) IdatacursorD) IdataReader
-
-
How do you Create Constructors in VB.NET
A) Create a method and name it with the same name as class nameB) Create a method and which is named as NewC) Create a method and which is named as Initialize
-
Which of the following is not a method of Debug class
A) Assert( )B) Flush( )C) Open( )
-
How do you terminate code execute with in a VB.NET method
A) Exit SubB) ExitC) Close
-
The methods declared with the following modifier are not accessible outside the class
A) ProtectedB) FriendC) PrivateExplanation: Private functions are available with in the class module
-
The vbc.exe compiler generates:
A) IL CodeB) Native codeC) Byte Code
-
How do you Dereference an Object in VB.NET
A) By setting the object to NullB) By setting the object to NothingC) With Close keywordD) None of the above
-
How you refer the parent class in VB.Net
A) ParentB) MyBaseC) Super
VB.NET Interview Questions
Ans