Single Choice
Not Set
QWhat will be the output?
public class Test{
public static void main(String args[]){
int a = 42;
double b = 42.25;
System.out.print((a%10)+" "+(b%10));
}
}
ID: #2131
Operator in Java
761 views
Question Info
#2131Q ID
Not SetDifficulty
Operator in JavaTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
2 2.5
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic