MCQ
Into which data type will the result of System.out.println (“a/x=” +(a/x)) be; when a = 12.5 and x 4?
  • Float
  • B
    Char
  • C
    Int
  • D
    Not Possible

Answer

Correct option: A.
Float
Float

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free