A) A field always has Get and Set MethodsB) A property always has Get and Set MethodsC) None of the aboveExplanation: These methods are internally used set and retrieve values of a property.
Latest Answer : ans cnone of the above ...
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
Latest Answer : A) Create a method and name it with the same name as class name ...
A) ArrayB) ObjectC) ListD) String
Latest Answer : object ...
A) ProcessB) ApplicationC) ExeD) Execute
Latest Answer : Process ...
A) StringB) DoubleC) ByteD) Currency
Latest Answer : D) Currencythe Currency data type is no longer supported in VB .NET and has been replaced with the Decimal data type. ...
A) EncapsulationB) Main functionC) Abstract Class/FunctionsD) Using Implementation
Latest Answer : C) By using Abstract Classes/Functions ...
A) String( )B) IsEmpty( )C) DoEvents ( )D) All of the above
Latest Answer : B) IsEmpty( )C) DoEvents ( ) ...
A) User ControlB) Custom ControlC) ControlD) Activex Control
Latest Answer : the base class control for all built in controls is the control ...
What is the output of the following code in Test classClass Myclass Dim Num as Integer Private Sub New (i as integer) Num=i End subEnd class Class Test Sub Main() Dim c as MyclassC=New Myclass (10)End subEnd Class
A) Num variable of Myclass is initialized to 10B) Run Time ErrorC) Compiler ErrorD) StackOverflow ExceptionExplanation: Constructor is declared as Private hence Compile error
What is the output of the messagebox function in following codeClass Test Dim A, B, C as Byte, Sub Main() A=200 B=100 C=A+B Console.WriteLine ( C )End subEnd Class
A) Prints 300 as the outputB) Prints “C”C) Compiler ErrorD) RunTime ErrorExplanation: Over flow exception as the sum of 2 bytes is always long