-
Which is the base class for All built in Controls ?
A) User ControlB) Custom ControlC) ControlD) Activex Control
-
Which of the following statements are not true in Vb.NET
A) Objects are of value TypesB) Constructors do not return anythingC) VB.Net Supports Multilevel inheritance
-
Casting from reference type to value or vice versa is called as
A) Casting of variablesB) Boxing/UnboxingC) Structure & Class conversionD) Stack & Heap Conversion
-
What is the difference between class module and code module
A) Code modules are instantiated at runtime and class modules are instantiated at the time of designB) Class modules are instantiated at runtime to create objects and code modules do not have instancesC) None
-
Only few of the .NET framework’s classes are available to VB.NET
A) TrueB) FalseExplanation: All of the .NET framework classes are available to VB.Net
-
In VB.NET cross language integration is possible through
A) Common type SystemB) Common Translation SystemC) Reflection
-
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
-
Which of these tools is used to display the IL contained with in a module
A) ATL Trace toolB) Spy ++C) DisassemblerExplanation: Disassembler is the tool with which one navigate the metadata with in the module
-
What is the significance of Option Explicit statement when it is set to On
A) Specifies that any variable name is declared (with type) before useB) Specifies whether strings should be compared as binaryC) Specifies that variables should be initialized before use
-
Which of the following are not a member of String Type
A) ConcatB) CopyC) JoinExplanation: Join is not a member of String class
-
It is possible to specify the base of the array Other than 0
A) TrueB) FalseExplanation: In VB.NET Arrays index always begin at 0.
-
Class type in VB.NET is a value type
A) TrueB) FalseExplanation: Class is a reference type in VB.NET
-
The methods which return the values back to the calling code are called as
A) Interrogative methodsB) Imperative methodsC) Constructors
-
VB.NET does not allow Parameterized properties
A) TrueB) FalseExplanation: IT does allow parameterized properties
-
To implement an interface it is not necessary to implement all the methods and properties defined by the interface.
A) TrueB) FalseExplanation: Any class, which implements an interface, must implement all the members of that interface
-
What is abstraction?
A) Hiding the complex behaviors of the object from real worldB) Exposing the all the behaviors of the object to out sideC) Binding methods & properties of an object togetherExplanation: Abstraction is the level to which the object hides the complexities of the real world
-
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
-
When does an Application Exception occurs
A) When a non-fatal error occursB) When a Null argument is passed & can not be accepted as nullC) When a recoverable exception occursExplanation: Application Exception is thrown when a fatal exception occurs for which CLR has no idea about the cause.
-
Where do you fing Invalid Character Exception
A) System.B) System. DataC) System.Webservices.Protocols
-
VB.NET Interview Questions
Ans