,Summary Complete Solutions Manual: Java How To Program (Early Objects),
Deitel, 10e [2026 Update] Comprehensive Examination Question Bank
TABLE OF CONTENTS
Section Topic Area Questions
I Foundations of Java Programming 1–20
Chapter 1: Introduction to Computers, the Internet and Java 1–5
Chapter 2: Introduction to Java Applications; Input/Output and Operators 6–12
Chapter 3: Introduction to Classes, Objects, Methods and Strings 13–20
II Control Flow and Methods 21–45
Chapter 4: Control Statements: Part 1; Assignment, ++ and — Operators 21–27
Chapter 5: Control Statements: Part 2; Logical Operators 28–34
Chapter 6: Methods: A Deeper Look 35–45
III Arrays, Collections, and Deeper Object Concepts 46–75
Chapter 7: Arrays and ArrayLists 46–55
Chapter 8: Classes and Objects: A Deeper Look 56–65
,Section Topic Area Questions
Chapter 9: Object-Oriented Programming: Inheritance 66–70
Chapter 10: Object-Oriented Programming: Polymorphism and Interfaces 71–75
IV Advanced Topics 76–120
Chapter 11: Exception Handling: A Deeper Look 76–82
Chapter 12–13: GUI Components, Graphics and Java 2D 83–88
Chapter 14: Strings, Characters and Regular Expressions 89–95
Chapter 15: Files, Streams and Object Serialization 96–100
Chapter 16: Generic Collections 101–105
Chapter 17: Java SE 8 Lambdas and Streams 106–112
Chapter 18: Recursion 113–115
Chapter 19: Searching, Sorting and Big O 116–120
V Data Structures, Concurrency, and Database 121–150
Chapter 20–21: Generic Classes, Methods and Custom Data Structures 121–127
Chapter 22: GUI Components: Part 2 128–130
Chapter 23: Concurrency 131–137
, Section Topic Area Questions
Chapter 24: Accessing Databases with JDBC 138–143
Chapter 25–27: JavaFX GUI, Graphics and Multimedia 144–147
Chapter 28–34: Networking, JPA, JavaServer Faces, Web Services, ATM
148–150
Case Study
SECTION I: FOUNDATIONS OF JAVA PROGRAMMING
Chapter 1: Introduction to Computers, the Internet and Java
1. Which statement accurately describes the relationship between machine languages,
assembly languages, and high-level languages?
A) Machine languages are portable across all hardware platforms, while high-level
languages are platform-specific.
B) Assembly languages use English-like syntax that can be directly executed by the CPU
without translation.
C) High-level languages are translated into machine language by compilers or interpreters
before execution.
D) Machine language is the only language understood directly by computers,
consisting of binary digits (0s and 1s), while high-level languages require translation.
Rationale: Machine language is the native language of a computer, consisting of binary
instructions. High-level languages like Java must be compiled or interpreted into machine code.
Assembly languages use mnemonics but still require translation.
2. In the context of object technology, what is the primary purpose of encapsulation?
A) To allow one class to inherit attributes and methods from another class.
B) To enable objects to communicate by sending messages to one another.
C) To group related data and methods into a single unit called a class.
Deitel, 10e [2026 Update] Comprehensive Examination Question Bank
TABLE OF CONTENTS
Section Topic Area Questions
I Foundations of Java Programming 1–20
Chapter 1: Introduction to Computers, the Internet and Java 1–5
Chapter 2: Introduction to Java Applications; Input/Output and Operators 6–12
Chapter 3: Introduction to Classes, Objects, Methods and Strings 13–20
II Control Flow and Methods 21–45
Chapter 4: Control Statements: Part 1; Assignment, ++ and — Operators 21–27
Chapter 5: Control Statements: Part 2; Logical Operators 28–34
Chapter 6: Methods: A Deeper Look 35–45
III Arrays, Collections, and Deeper Object Concepts 46–75
Chapter 7: Arrays and ArrayLists 46–55
Chapter 8: Classes and Objects: A Deeper Look 56–65
,Section Topic Area Questions
Chapter 9: Object-Oriented Programming: Inheritance 66–70
Chapter 10: Object-Oriented Programming: Polymorphism and Interfaces 71–75
IV Advanced Topics 76–120
Chapter 11: Exception Handling: A Deeper Look 76–82
Chapter 12–13: GUI Components, Graphics and Java 2D 83–88
Chapter 14: Strings, Characters and Regular Expressions 89–95
Chapter 15: Files, Streams and Object Serialization 96–100
Chapter 16: Generic Collections 101–105
Chapter 17: Java SE 8 Lambdas and Streams 106–112
Chapter 18: Recursion 113–115
Chapter 19: Searching, Sorting and Big O 116–120
V Data Structures, Concurrency, and Database 121–150
Chapter 20–21: Generic Classes, Methods and Custom Data Structures 121–127
Chapter 22: GUI Components: Part 2 128–130
Chapter 23: Concurrency 131–137
, Section Topic Area Questions
Chapter 24: Accessing Databases with JDBC 138–143
Chapter 25–27: JavaFX GUI, Graphics and Multimedia 144–147
Chapter 28–34: Networking, JPA, JavaServer Faces, Web Services, ATM
148–150
Case Study
SECTION I: FOUNDATIONS OF JAVA PROGRAMMING
Chapter 1: Introduction to Computers, the Internet and Java
1. Which statement accurately describes the relationship between machine languages,
assembly languages, and high-level languages?
A) Machine languages are portable across all hardware platforms, while high-level
languages are platform-specific.
B) Assembly languages use English-like syntax that can be directly executed by the CPU
without translation.
C) High-level languages are translated into machine language by compilers or interpreters
before execution.
D) Machine language is the only language understood directly by computers,
consisting of binary digits (0s and 1s), while high-level languages require translation.
Rationale: Machine language is the native language of a computer, consisting of binary
instructions. High-level languages like Java must be compiled or interpreted into machine code.
Assembly languages use mnemonics but still require translation.
2. In the context of object technology, what is the primary purpose of encapsulation?
A) To allow one class to inherit attributes and methods from another class.
B) To enable objects to communicate by sending messages to one another.
C) To group related data and methods into a single unit called a class.