Questions:: Chapter 2: History and Development of Java
Questions:: Chapter 2: History and Development of Java
8. (a) DYA
Chapter 9: Arrays
questions: 3. (c) subscripts
choice
I. Multiple 2. (c) 11th 6. (d) None
1. (b) int a[40] Index Number 9. (c) m.length
variable 5. (c) 49
4. (a) subscripted 8. (b) From 0 to
37 to code[1]
7 (a) Assign Classes)
10. (a) N-1 Printer
and
(Scanner
Input/Output
Basic
Chapter 10 : 3. Delimiters
blanks: 6. hasNextBoolean(
next()
I. Fill in the 2. Java.util 9. )
5. console
1. Scanner
8. hasNextFloat( )
4. white space
7. nextlnt( ) 5.
False
1. True 7 True
6. True
Chapter 1 l : Functions/Methods
Chapter 13 Constructors
I. Fill in the blanks:
4. member 5. default
1. constructor 2. no 3. object
9. default 10. return
word 8. reference
6. parameterized 7. This key
Inheritance
Chapter 14 : Encapsulation and
I. Fill in the blanks: 3. Inheritance
2. Base class
1. Derived, Base 6. Derived
4. Base 5. Target 9. Public, Private, Protected
8. Private
7. Inheritance
10. Multilevel or Nested