Data Types and Variables Determine output:public class Test{int i = 34;public static void main(String args[]){Test t1 = new Test();Test t2 = new Test();t1.i = 65;System.out.print(t1.i);System.out.print(t2.i);}} 34 65 65 65 34 34 65 34 34 65 65 65 34 34 65 34 ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables In Java byte, short, int and long all of these are Both of the above signed None of these unsigned Both of the above signed None of these unsigned ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables Determine output:public class Test { static void test(float x){ System.out.print("float"); } static void test(double x){ System.out.print("double"); } public static void main(String[] args){ test(99.9); }} Exception is thrown at runtime double Compilation Error float Exception is thrown at runtime double Compilation Error float 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);} } None of these 50 Compilation Error 10 None of these 50 Compilation Error 10 ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables Java is a ........... language. weakly typed moderate typed None of these strongly typed weakly typed moderate typed None of these strongly typed 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