Multiple choice

Default datatype of visual basic is

  1. boolean

  2. integer

  3. string

  4. variant

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The default datatype in Visual Basic is Variant. A Variant can hold any type of data (numbers, strings, dates, etc.) and VB automatically converts between types as needed. If you don't specify a type when declaring a variable, it defaults to Variant.