Data Types and Variables Size of float and double in Java is 64 and 64 32 and 64 32 and 32 64 and 32 64 and 64 32 and 64 32 and 32 64 and 32 ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables Determine output:public class Test{ int a = 10; public void method(int a){ a += 1; System.out.println(++a); } public static void main(String args[]){ Test t = new Test(); t.method(3); }} 5 None of these 11 4 12 5 None of these 11 4 12 ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables In Java, the word true is ................ A Boolean literal Same as value 1 A Java keyword Same as value 0 A Boolean literal Same as value 1 A Java keyword Same as value 0 ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables What is the output of the following program?public class Test{static int x = 10 ; public static void main(String[] a){ Test test = new Test( ) ; Test test1 = new Test( ) ; test.x += 1 ; System.out.println( test.x + test1.x ) ; }} Compilation Error 22 20 Throws Exception 21 Compilation Error 22 20 Throws Exception 21 ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables What will be output of following program?public class Test{ public static void main(String[] args){ byte b=127; b++; b++; System.out.println(b); }} -127 Compiler error 129 None of these 2 -127 Compiler error 129 None of these 2 ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables Which of the following automatic type conversion will be possible? byte to int short to int long to int int to long byte to int short to int long to int int to long ANSWER DOWNLOAD EXAMIANS APP