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