A
Q. What will be the output of the following Java program?
class Output
{
public static void main(String args[])
{
double x = 2.0;
double y = 3.0;
double z = Math.pow( x, y );
System.out.print(z);
}
}
- Correct Answer - Option(C)
- Views: 33
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.