Core Java : Basics


1. Which of these is not a valid keyword or reserved word in Java?




2. Which of the following is a valid key word in java?




3. Which of the following is a primitive data type in java?




4. What is the size of long data type in java




5. Which of the following is an incorrect declaration of char?




6. Which of the following is a reference data type in Java?




7. What is the default value of double?




8. In Java, by default all the integer literals are treated as ________?




9. In Java, by default all the floating literals are treated as ________?




10. Which of the following statement is/are true for automatic type casting?