Page 66 - iPlus_Ver_2.0_class_8
P. 66
2. Which of these is not a feature of the Java language?
a. It is a case-sensitive language
b. It is a platform-dependent language
c. It is a robust language
d. It is an object-oriented language
3. Which of these is used to store values in memory?
a. Variables b. Constants
c. Operators d. Expressions
4. Which of the following is the developer of Java?
a. Guido van Rossum b. James Gosling
c. Mitchel Resnick d. None of these
5. Which of the following variables is invalid?
a. Neha_Bhatia b. _Usha123
c. Priya $pay d. num
B. Fill in the blanks using the words given below.
Hints: identifier, high-level, output, primitive, Operators
1. Java is a .......................... language.
2. The println() method displays the .......................... on the terminal.
3. .......................... are special symbols used to perform arithmetic or logical computation.
4. An .......................... is the name given to an object in a Java program.
5. The int is a .......................... data type.
C. Write ‘T’ for true and ‘F’ for false.
1. Keywords are the reserved words in Java. .....................
2. Java code is converted into bytecode by its compiler. .....................
3. The values on which an operator works are called operands. .....................
4. IDE stands for Integrated Document Environment. .....................
5. The = operator is used to check the equality between two values. .....................
64
iPlus (Ver. 2.0)-VIII

