Q:

Select the output for the following line of code: println(40.getClass)

0

Select the output for the following line of code: println(40.getClass)


  1. This causes a compilation error
  2. This causes a runtime error
  3. int
  4. 40

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

int

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now