Why does a variable need a data type?

A. The program knows what kind of data it is.
B. You know what type of data goes in the variable.
C. The data type initiates the variable.
D. The program needs to use the variable.


A. The program knows what kind of data it is.

Computer Science & Information Technology

You might also like to view...

Why is it considered a good practice to override the toString and equals methods?

What will be an ideal response?

Computer Science & Information Technology

Which data type enables you to store numeric values that need to be calculated?

A) Short Text B) Number C) Auto Number D) Logical

Computer Science & Information Technology

The ComboBox control combines a TextBox with a control.

a) DateTimePicker b) ListBox c) NumericUpDown d) Label

Computer Science & Information Technology

Which of the following options is not used to navigate between slides?

A. Slides tab B. Design tab C. Previous Slide and Next Slide buttons D. Scroll bar

Computer Science & Information Technology