Data Types and Variables In Java, the word true is ................ A Java keyword Same as value 0 A Boolean literal Same as value 1 A Java keyword Same as value 0 A Boolean literal Same as value 1 ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables What will the output of the following program?public class Test{ public static void main(String args[]){ float f = (1 / 4) * 10; int i = Math.round(f); System.out.println(i); }} 25 2.5 2 3 0 25 2.5 2 3 0 ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables In Java byte, short, int and long all of these are unsigned None of these signed Both of the above unsigned None of these signed Both of the above 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); }} 2 -127 None of these 129 Compiler error 2 -127 None of these 129 Compiler error ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables Which of the following automatic type conversion will be possible? short to int int to long byte to int long to int short to int int to long byte to int long to int 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); }} None of these 11 4 12 5 None of these 11 4 12 5 ANSWER DOWNLOAD EXAMIANS APP