Single Choice
Not Set
QWhat will be the output for the below code ?
1. public class Test{
2. public static void main(String[] args){
3. byte i = 128;
4. System.out.println(i);
5. }
6. }
ID: #2024
Java Data Types and Variables - MCQ
686 views
Question Info
#2024Q 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
Compilation fails with an error at line 3
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic