Question Detail

COM 101 COM 101 Past Questions Objective Question

Question

61. Which of these is correct with respect to VB
Options
A Integer and long have similar capacity
B A long is also called a decimal data type
C All integer are long but not all long are integer
D All long are integer but not all integer are long
Correct Answer
Correct Answer

Option D is the correct answer.

Detailed Explanation

In VB, Long is a larger integer type. All Long values are integers, but not all Integer values are Long (since Long can hold larger numbers).

Hint

Long can store bigger numbers than Integer.

Question Info