Solved

What Is the Output of the Following Code Snippet

Question 32

Multiple Choice

What is the output of the following code snippet?
Public static void main(String[] args)
{
Double x;
X = Math.pow(3.0, 2.0) + Math.pow(4.0, 2.0) ;
System.out.println(x) ;
}


A) 25.0
B) 34
C) 7.0
D) 14

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions