-
How do we implement Late Binding in VB.NET
A) Through the use of “Object” data typeB) Through InheritanceC) Through abstractionExplanation: As object data type can store virtually any value type can be determined during run time.
-
How do you create a Read only Property in VB.NET
A) Using Only Get..EndGet with in property definitionB) Using Only Set..EndSet with in property definitionC) Using both Get & Set
-
Which keyword is used in the method declaration to handle an Event
A) EventB) HandlesC) Raise
-
The underlying mechanism used by the .NET environment for call back methods
A) PointersB) DelegatesC) None of the above
-
It is not possible to derive a class in VB.Net from a class written in C#
A) TrueB) FalseExplanation: It is possible to derive a class in vb.net from a class written in C# through CTS
-
How do we refer a namespace to an VB.Net project
A) With the help of Using KeywordB) With the help of Imports keywordC) With the help of Inherits keyword
-
Which is the base class for TypedDataset
A) DataReaderB) DatasetC) DataAdapter
-
Which of the method is used to display the form as modal
A) Activate ( )B) Show( )C) Showdialog( )
-
The tool provided with .Net framework to register assemblies for use by COM is
A) RegasmB) Regsvr32C) ILDASM
-
Web services can handle any type of data that can be serialized
A) TrueB) False
-
-
When you a create a console application in VB.NET which of the following files are added by default to the project
A) Assembly info file and a Class fileB) Assembly info file and a Module fileC) Class file and a Module file
-
Shared method can be invoked directly from the class itself
A) TrueB) False
-
What is serialization of an Object?
A) Writing the Object to a StreamB) Reading the Object from a StreamC) Adding the Object to a collectionD) None of the above
-
Can you have optional parameters in VB.NET code?
A) YesB) No
-
Select the keyword used to compare the object variable?
A) AndB) ORC) ISD) OF
-
OPTION exists in VB.NET
A) TrueB) False
-
What is Remoting?
A) Concept which allows code in one AppDomain call on objects of other App DomainB) A Concept which transmits the data over networkC) A Concept which deploys the code in remote server.
-
Assembly manifest contains
A) Assembly’s IdentityB) Assembly’s Reference ListC) Both A & B
-
VbOk,VbCancel,VbAbort are all the enumerated members of
A) MsgboxStyle EnumerationB) MsgboxResult EnumerationC) CompareMethod Enumeration
VB.NET Interview Questions
Ans