Tag: technology

Questions Related to technology

  1. eXtremely Persnickety

  2. eXPerience

  3. eXtra Profits

  4. eXPress


Correct Option: B

class SRC104 { public static void main (String[] args) { System.out.print(Math.round(Float.NaN)); }} What is the result of attempting to compile and run the program?

  1. Prints: NaN

  2. Prints: 0.0

  3. Prints: 0

  4. Compile-time error

  5. Run-time error


Correct Option: C