Data Types and Variables In Java byte, short, int and long all of these are unsigned signed None of these Both of the above unsigned signed None of these Both of the above ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables In Java, the word true is ................ A Boolean literal Same as value 0 A Java keyword Same as value 1 A Boolean literal Same as value 0 A Java keyword Same as value 1 ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables What will be output of the following program code?public class Test{public static void main(String[] a){short x = 10;x = x*5;System.out.print(x);} } 50 Compilation Error 10 None of these 50 Compilation Error 10 None of these ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables The smallest integer type is ......... and its size is ......... bits. short, 16 short, 8 short, 16 byte, 8 short, 16 short, 8 short, 16 byte, 8 ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables What is the output for the below code ?1. public class Test{2. public static void main(String[] args){3. byte b = 6;4. b+=8;5. System.out.println(b);6. b = b+7;7. System.out.println(b);8. }9. } None of these 14 13 14 21 Compilation fails with an error at line 4 Compilation fails with an error at line 6 None of these 14 13 14 21 Compilation fails with an error at line 4 Compilation fails with an error at line 6 ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables 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. } Compilation fails with an error at line 3 Compilation fails with an error at line 4 0 None of these 128 Compilation fails with an error at line 3 Compilation fails with an error at line 4 0 None of these 128 ANSWER DOWNLOAD EXAMIANS APP