nerdexam
Microsoft

98-372 · Question #42

Which of the following types can store the numeric value 2.25? Each correct answer represents a complete solution. Choose all that apply.

The correct answer is A. Double B. Decimal C. Float. The double, decimal, and float types can each store fractional numbers. Answer: E and D are incorrect. The int and long types can be used to store only integers.

Understanding Data Types and Collections

Question

Which of the following types can store the numeric value 2.25? Each correct answer represents a complete solution. Choose all that apply.

Options

  • ADouble
  • BDecimal
  • CFloat
  • Dlong
  • Eint

How the community answered

(23 responses)
  • A
    70% (16)
  • D
    9% (2)
  • E
    22% (5)

Explanation

The double, decimal, and float types can each store fractional numbers. Answer: E and D are incorrect. The int and long types can be used to store only integers.

Topics

#floating point types#Double#Decimal#Float

Community Discussion

No community discussion yet for this question.

Full 98-372 Practice