Data Types and Variables In Java, the word true is ................ A Java keyword A Boolean literal Same as value 0 Same as value 1 A Java keyword A Boolean literal Same as value 0 Same as value 1 ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables How many primitive data types are there in Java? 9 6 7 8 9 6 7 8 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 None of these 10 50 Compilation Error None of these 10 ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables Which of the following automatic type conversion will be possible? byte to int int to long short to int long to int byte to int int to long short to int long to int ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables The following program:public class Test{ static boolean isOK; public static void main(String args[]){ System.out.print(isOK); } } Prints true Will not compile as boolean can never be static Will not compile as boolean is not initialized Prints false Prints true Will not compile as boolean can never be static Will not compile as boolean is not initialized Prints false ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables In Java byte, short, int and long all of these are None of these unsigned Both of the above signed None of these unsigned Both of the above signed ANSWER DOWNLOAD EXAMIANS APP