1 Introduction to Computers and Programming
1.1 History of Computer
1.2 What is a Computer?
1.3 Introduction to Software
1.4 Software Development Life-Cycle
1.5 Development of Programs
1.6 Programming Languages
1.7 Questions on the Chapter
2 Introduction to Object-Oriented Programming and Java
2.1 Introduction
2.2 Object-Oriented Concepts
2.3 Introduction to Java
2.4 Versions of Java
2.5 Writing the First Java Program
2.6 Running Java Programs
2.7 A Comprehensive understanding of Object-Oriented Concepts in Java"
2.8 Questions on the Chapter
3 Programming Basics
3.1 Introduction
3.2 Variables
3.3 Identifiers
3.4 Java Keywords
3.5 Literals
3.6 Data Types
3.7 Type Casting
3.8 Questions on the Chapter
4 Operators and Expressions
4.1 Introduction
4.2 Relational and Equality Operators
4.3 Arithmetic Operators
4.4 Bit-Wise Operators
4.5 Assignment Operators
4.6 Increment and Decrement Operators
4.7 Logical Operators
4.8 Conditional Operators
4.9 Operator Precedence
4.10 Mathematical Functions
4.11 Operator Overloading
4.12 Questions on the Chapter
5 Selection Statements
5.1 Introduction
5.2 The/f Statements
5.3 The /f...e/se Statements
5.4 The tf... e/se.../f Statements
5.5 Nested if...else Statements
5.6 The switch Statement
5.7 The Ternary Operator
5.8 Questions on the Chapter
6 Looping Statements
6.1 Introduction
6.2 The while Loop
6.3 The do...while Loop
6.4 The for Loop
6.5 Nesting of Loops
6.6 The break statement
6.7 The continue statement
6.8 Jumping Statements
6.9 Questions on the Chapter
7 Arrays
7.1 Introduction
7.2 One-Dimensional Arrays
7.3 Multi-Dimensional Arrays
7.4 Applications of Two-Dimensional Arrays
7.5 Questions on the Chapter
8 Strings
8.1 Introduction
8.2 Creating Strings
8.3 String Methods
8.4 Arrays of Strings
8.5 Converting Strings to Numerical Data
8.6 Converting Numerical Data to Strings
8.7 Command line Arguments
8.8 Questions on the Chapter
9 Classes and Objects
9.1 Introduction
9.2 Object Definition
9.3 Class Definition
9.4 Overloaded Methods
9.5 Multiple Objects
9.6 Array of Objects
9.7 Access Modifiers
9.8 Questions on the Chapter
10 Searching and Sorting
10.1 Introduction
10.2 Searching
10.3 Linear Search
10.4 Binary Search
10.5 Sorting
10.6 Insertion Sort
10.7 Selection Sort
10.8 Bubble Sort
10.9 Sorting Characters and Strings
10.10 Questions on the Chapter
11 Constructors
11.1 Introduction
11.2 Default Constructers
11.3 Constructors with Parameters
11.4 Multiple Constructors
11.5 The this Keyword
11.6 Questions on the Chapter
12 Inheritance
12.1 Introduction
12.2 Single Inheritance
12.3 The protected Keyword
12.4 Overriding Data and Methods
12.5 The super Keyword
12.6 Constructors and Inheritance
12.7 Questions on the Chapter
13 Polymorphism
13.1 Introduction
13.2 The instance of Operator
13.3 Abstract Methods
13.4 Abstract Class
13.5 Questions on the Chapter
14 Exception Handling
14.1 Introduction
14.2 Handling Exceptions
14.3 Kinds of Exceptions
14.4 Catching Multiple Exceptions
14.5 The throw Keyword
14.6 Questions on the Chapter
15 GUI Objects and Event Programming
15.1 Introduction
15.2 GUI Objects in Java
15.3 Layout Managers
15.4 Positioning of GUI Components
15.5 Event-Driven Programming
15.6 Menu Handling
15.7 Questions on the Chapter
16 Applets
16. I Introduction
16.2 The First Applet Program
16.3 Applets and HTML
16.4 Life Cycle of an Applet
16.5 More Applet Programs
16.6 Sound and Image Programs
16.7 Questions on the Chapter
17 Thread Programming
17.1 Introduction
17.2 A Simple Thread
17.3 The setName0 and getNameO Methods
17.4 The setPriority0 and getPriority0 Methods
17.5 The sleep 0 Method
17.6 The Runnable Interface
17.7 Questions on the Chapter
18 Input and Output Streams
18.1 Introduction
18.2 Input and Output Streams
18.3 File I/O
18.4 Questions on the Chapter
19 Network Programming in Java
19.1 Introduction
19.2 The Client and Server
19.3 Understanding the Socket Object
19.4 Questions on the Chapter
Appendix A: Model Questions
Appendix B: English-Chinese Vocabulary List