Examveda

What is the output of the following code snippet in Java? `System.out.println(Math.pow(2, 3));`

A. 6

B. 2

C. Compilation Error

D. 8

Answer: Option D


This Question Belongs to Java Program >> Miscellaneous In Java

Join The Discussion

Related Questions on Miscellaneous in Java