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 .  None of these
B .  Compilation fails with an error at line 4
C .  0
D .  128
E .  Compilation fails with an error at line 3
Answer: Option E

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