| 1 |
In Java, a variable's name can start with a number. |
False |
| 2 |
char in Java can store a single character. |
True |
| 3 |
Class names in Java typically start with a lowercase letter. |
False |
| 4 |
100L is a valid long literal in Java. |
True |
| 5 |
\\d is an escape sequence in Java for a digit character. |
False |
| 6 |
Scanner class is used for reading console input. |
True |
| 7 |
In Java, an int can be automatically converted to a byte. |
False |
| 8 |
Java variable names are case-sensitive. |
True |
| 9 |
Scanner class can be used to read both primitive data types and strings. |
True |
| 10 |
Explicit casting is required to convert a double to an int. |
True |