Data Types and Variables Size of float and double in Java is 32 and 64 64 and 64 32 and 32 64 and 32 32 and 64 64 and 64 32 and 32 64 and 32 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);} } 10 50 None of these Compilation Error 10 50 None of these Compilation Error ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables What is the output for the below code ?class A{ int k; boolean istrue; static int p; public void printValue(){ System.out.print(k); System.out.print(istrue); System.out.print(p); }}public class Test{ public static void main(String argv[]){ A a = new A(); a.printValue(); }} 0 0 0 0 true 0 Compile error - static variable must be initialized before use. None of these 0 false 0 0 0 0 0 true 0 Compile error - static variable must be initialized before use. None of these 0 false 0 ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables Java is a ........... language. moderate typed weakly typed strongly typed None of these moderate typed weakly typed strongly typed None of these ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables Size of int in Java is 64 bit 32 bit 16 bit Depends on execution environment 64 bit 32 bit 16 bit Depends on execution environment ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables Which of the following automatic type conversion will be possible? int to long short to int long to int byte to int int to long short to int long to int byte to int ANSWER DOWNLOAD EXAMIANS APP