Single Choice
Not Set
QWhat is the output of the following program?
class A{
public static void main(String args[]){
byte b;
int i = 258;
double d = 325.59;
b = (byte) i;
System.out.print(b);
i = (int) d;
System.out.print(i);
b = (byte) d;
System.out.print(b);
}
}
ID: #2010
Java Data Types and Variables - MCQ
2,106 views
Question Info
#2010Q 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
2 325 69
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic