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 would be the output of the following fraction of code ?int Integer = 34 ;char String = 'S' ;System.out.print( Integer ) ;System.out.print( String ) ; 34 Throws exception. Does not compile as Integer and String are API class names. 34 S S 34 Throws exception. Does not compile as Integer and String are API class names. 34 S S ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables Java is a ........... language. moderate typed None of these weakly typed strongly typed moderate typed None of these weakly typed strongly typed ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables What will be the output for the below code ?1. public class Test{2. public static void main(String[] args){3. byte i = 128;4. System.out.println(i);5. }6. } Compilation fails with an error at line 4 Compilation fails with an error at line 3 0 128 None of these Compilation fails with an error at line 4 Compilation fails with an error at line 3 0 128 None of these ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables The following fraction of codedouble STATIC = 2.5 ;System.out.println( STATIC ); Rraises an error as STATIC is used as a variable which is a keyword None of these Prints 2.5 Raises an exception Rraises an error as STATIC is used as a variable which is a keyword None of these Prints 2.5 Raises an exception ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables In Java, the word true is ................ Same as value 0 Same as value 1 A Java keyword A Boolean literal Same as value 0 Same as value 1 A Java keyword A Boolean literal ANSWER DOWNLOAD EXAMIANS APP