Sail E0 Webinar
Question
What 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. }
Options:
A .  128
B .  0
C .  Compilation fails with an error at line 3
D .  Compilation fails with an error at line 4
E .  None of these
Answer: Option C

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers