Single Choice
Not Set
QWhat will the output of the following program?
public class Test{
public static void main(String args[]){
float f = (1 / 4) * 10;
int i = Math.round(f);
System.out.println(i);
}
}
ID: #2019
Java Data Types and Variables - MCQ
1,131 views
Question Info
#2019Q ID
Not SetDifficulty
Java Data Types and Variables - MCQTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
0
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic