-
How you refer the parent class in VB.Net
A) ParentB) MyBaseC) Super
-
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
-
The vbc.exe compiler generates:
A) IL CodeB) Native codeC) Byte Code
-
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
-
How do you terminate code execute with in a VB.NET method
A) Exit SubB) ExitC) Close
-
Which of the following is not a method of Debug class
A) Assert( )B) Flush( )C) Open( )
-
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 interface provides the fast, connected, forward only access to data source
A) IdataRecordB) IdatabaseC) IdatacursorD) IdataReader
-
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
-
What is the maximum no of dimension that an array can have in VB.NET ?
A) 3B) 5C) 32D) Unlimited
-
Which of the following class does not belong to Collection namespace
A) ArrayListB) QueueC) StackD) DictionaryList
-
How do you trigger an event in VB.NET
A) RaiseEvent keywordB) TriggerEvent keywordC) AddEvent KeywordD) None
-
Which interface allows to implement the Dispose method to do cleanup work
A) IcleanupB) IdisposableC) Idestructor
-
Which is not a collection type in VB.Net
A) HashtableB) ArrayListC) HeapD) Stack
-
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
-
-
Vb.Net classes can be derived in C#
A) TrueB) FalseExplanation: Since VB.Net Adheres to Common Type syetsm it is possible to Derive a class written in VB.Net in C#.
-
How do you preserve the contents of an array from being cleared when the array is redimensioned?
A) Using Redim KeywordB) Using Preserve KeywordC) Using Reserve Keyword
-
An Assemblyinfo file in a VB.NET project will have _______ as file extesion.
A) .configB) .vbC) .cs
VB.NET Interview Questions
Ans