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)

Select the correct statements from the following:... >>
<< Which one of the following keyword use to define a...