Ask Question
24 June, 09:00

Which of the following are valid values for the integer data type? (Select all that apply)

"integer"

90.1

'1'

true

-25

0

423190

0.1

+1
Answers (1)
  1. 24 June, 10:41
    0
    You can only assign an integer number (i. e. a number without decimal part) to an integer data type.

    "integer" is a string, so it's not a number (and thus not an integer)

    90.1 has a decimal part, so it's not an integer

    '1' is a string, so it's not a number (and thus not an integer)

    true is a boolean, so it's not a number (and thus not an integer)

    -25

    0

    423190

    0.1 has a decimal part, so it's not an integer
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Which of the following are valid values for the integer data type? (Select all that apply) "integer" 90.1 '1' true -25 0 423190 0.1 ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers