adplus-dvertising
frame-decoration

Question

In Visual Basic, if you keep a variable undeclared, it is automatically taken as___________ data type.

a.

Int

b.

Char

c.

String

d.

Object

Answer: (d).Object

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. In Visual Basic, if you keep a variable undeclared, it is automatically taken as___________ data type.

Similar Questions

Discover Related MCQs

Q. To declare a class-level named constant you declare it as __________

Q. Unintentional errors in application by declaring variables can be reduced by __________

Q. Using a named constant is advantageous because to change a value in future, change __________

Q. What is wrong with the expression “static dblPi AsDouble ”?

Q. What is wrong with the expression “const dblPi As Double = 3.141593”?

Q. Named constants are used because __________

Q. A __________ cannot change its value while the application is running.

Q. Static variable can only be used in the __________ in which it is declared.

Q. __________ is a variable that remains in memory, and retains its value even after the procedure declaring it ends.

Q. Two procedures can have procedure-level variable whose names are same.

Q. A procedure-level variable is declared using ____________ keyword.

Q. A class-level variable is declared using ______________ keyword.

Q. Lifetime of a class-level variable is till ________________

Q. When you declare a variable in the form’s declaration section, it is called as ______________

Q. Variables declared in a block have _____________ scope.

Q. Variable declared in a procedure have ______________ scope.

Q. Variables declared in a form’s declaration section have _____________ scope.

Q. A variable’s _______________ indicates how long the variable stays in the computer’s internal memory.

Q. A variable’s ____________ indicates where the variable can be used in an application code.

Q. To covert a number from one data type to another, you use the __________