Data Types and Variables Java is a ........... language. None of these moderate typed strongly typed weakly typed None of these moderate typed strongly typed weakly typed ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables The smallest integer type is ......... and its size is ......... bits. short, 8 short, 16 byte, 8 short, 16 short, 8 short, 16 byte, 8 short, 16 ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables What would be the output of the following fraction of code ?int Integer = 34 ;char String = 'S' ;System.out.print( Integer ) ;System.out.print( String ) ; Does not compile as Integer and String are API class names. S Throws exception. 34 S 34 Does not compile as Integer and String are API class names. S Throws exception. 34 S 34 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 float double Compilation Error Exception is thrown at runtime float double Compilation Error ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables In Java byte, short, int and long all of these are signed None of these unsigned Both of the above signed None of these unsigned Both of the above ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables In Java, the word true is ................ Same as value 0 Same as value 1 A Boolean literal A Java keyword Same as value 0 Same as value 1 A Boolean literal A Java keyword ANSWER DOWNLOAD EXAMIANS APP