Multiple Choice
Which is the Java equivalent of the following mathematical expression? c = (√a + √b) 2
A) c = Math.sqrt(a * 2 + b * 2) ;
B) c = Math.sqrt(a * 2) + Math.sqrt(b * 2) ;
C) c = Math.sqrt(pow(a, 2) + Math.pow(b, 2) ) ;
D) c = Math.pow((Math.sqrt(a) + Math.sqrt(b) ) , 2) ;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q3: What will be printed by the statement
Q37: Which of the given statements generates the
Q41: Which statement about number literals in Java
Q68: What is the result of the following
Q69: What does the following statement sequence print?
Q70: Which of the following statements with comments
Q71: What is the output of the following
Q74: What will be printed by the statements
Q75: Which one of the following is a
Q116: Which one of the following operators computes