MCQ Single Best Answer Easy

QWhat will be the output of the following code fragment?

int  x = 5,y=  10;
System.out.printin  (Math.max(x,  y));

ID: #23219 Mathematical Library Methods in Java 78 views
Question Info
#23219Q ID
EasyDifficulty
Mathematical Library Methods in JavaTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A 50
  • B 5.0
  • C 10
  • D 10.0
Correct Answer: Option C

Explanation

10

Share This Question

Challenge a friend or share with your study group.