Data Types and Variables Which of the following automatic type conversion will be possible? long to int int to long short to int byte to int long to int int to long short to int byte to int ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables Java is a ........... language. moderate typed strongly typed None of these weakly typed moderate typed strongly typed None of these weakly typed ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables In Java byte, short, int and long all of these are None of these signed Both of the above unsigned None of these signed Both of the above unsigned 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 3 128 0 Compilation fails with an error at line 4 None of these Compilation fails with an error at line 3 128 0 Compilation fails with an error at line 4 None of these ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables Size of float and double in Java is 64 and 32 32 and 32 64 and 64 32 and 64 64 and 32 32 and 32 64 and 64 32 and 64 ANSWER DOWNLOAD EXAMIANS APP
Data Types and Variables Automatic type conversion in Java takes place when Two type are compatible and size of destination type is equal of source type. Two type are compatible and size of destination type is shorter than source type. All of these Two type are compatible and size of destination type is larger than source type. Two type are compatible and size of destination type is equal of source type. Two type are compatible and size of destination type is shorter than source type. All of these Two type are compatible and size of destination type is larger than source type. ANSWER DOWNLOAD EXAMIANS APP