Which data type should you use?

You are creating a variable for an application.

You need to store data that has the following characteristics in this variable:
Consists of numbers and characters
Includes numbers that have decimal points
Which data type should you use?

You are creating a variable for an application.

You need to store data that has the following characteristics in this variable:
Consists of numbers and characters
Includes numbers that have decimal points
Which data type should you use?

A.
Decimal

B.
Char

C.
String

D.
Single

Explanation:
Need a string to store characters.



Leave a Reply 1

Your email address will not be published. Required fields are marked *


DB7

DB7

C: String
Only string or char allows characters, but since char only allows a single character, it’s not an option.