CS0401: Intermediate Java
Reading: Gaddis, Ch 1
- Introduction
- Course Goals
- Getting Started with Java
Reading: Gaddis, Ch 2
- Intro to Java
- Compilation and Execution of Programs
- Keywords, Identifiers, and Literals
- Variables and data type
Reading: Gaddis, Ch 2
- Variables, data, and expressions
- Primitive vs Reference Types
- Operators
- Precedence
- Associativity
Reading: Gaddis, Ch 2, Sec 3.1, Sec 3.5
- Input and Control types
- Using the
Scanner
class - Control statements
- Boolean expressions
- Truth tables
- Using the
Reading: Gaddis, Ch 3
- Conditionals and Errors
if
andwhile
statements- Syntax
- Usage
- Variations
- Syntax, Run-Time, Logic errors
Reading: Gaddis, Ch 4
- The
for
statement and output formatting
Reading: Gaddis, Sec 3.9, 3.10, Ch 5
- Switch Statements and Java Methods
- Method calls and functional abstraction
- Static methods
- Passing arguments by value
- Local variables and scope
Reading: Gaddis, Ch 5, Sec 6.1
- References and Reference types
- Will finish method discussion, as well
Reading: Gaddis, Ch 6
-
Finish reference discussion
-
Java classes and objects
- Data abstraction and encapsulation
- Data hiding
- Private variables
Reading: Gaddis, Ch 6
- Java class, continued
- Constructors
- Accessors
- Mutators
Reading: Gaddis, Ch 4
- File I/O
- Accessing simple text files
Reading: Gaddis, Ch 7
- Single-Dimensional Arrays
- Array syntax
- Direct and sequential access
Reading: Gaddis, Ch 7
- More on Single-Dimensional Array
- Arrays as objects
- Parameters
- Modifying an array
- Multi-Dimensional arrays and ArrayLists
Reading: Gaddis, Sec 7.11
- Searching and Sorting
- Definition and concepts
- Selection Sort
- Binary search
Reading: Gaddis, Ch 8
- The Object-Oriented Paradigm
Reading: Gaddis, Ch 12
- Graphics in Java
- Event-driven programming
- Buttons and display
Reading: Gaddis, Ch 12
- Graphics in Java, continued
- Layout management and managers
- JPanels
- Interfaces and Graphics Extensions
Reading: Gaddis, Ch 9
- Wrapper classes
- Parsing simple input
- The
Character
class
Reading: Gaddis, Ch 10
- Intro to Java Inheritance
- Superclasses and subclasses
- Protected variables
- Super methods
- Inheritance vs. composition
- Overriding vs overloading
Reading: Gaddis, Ch 10, Sec 6.6
- More Java Inheritance
- More on ad hoc polymorphism (method overloading)
- Packages
- Generics
Reading: Gaddis, Sec 14.5, 14.6
- Developing Object-Oriented Program
- Subclassing (true) polymorphism
- Abstract classes and methods
Reading: Gaddis, Sec 10.9
- Using interfaces, polymorphic access, and Generics
Reading: Gaddis, Ch 11
- Exceptions
- Definition
- Throwing and Catching
Reading: Gaddis, Ch 16
- Recursion
- Recursive equations
- Recursive vs base case
- Implementation
- Benefits / Drawbacks
- SECOND MIDTERM