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
Q6: What is the value of Math.abs(-2)?<br>A)-2<br>B)0<br>C)2<br>D)4
Q8: What is wrong with the following code
Q18: One way to avoid round-off errors is
Q23: Which one of the following refers to
Q25: Which of the following statements displays<br>Price =
Q29: Which of the following is the
Q32: What is the output of the following
Q38: Which of the following statements about constants
Q96: What is the output of the following
Q102: Which one of the following statements defines