Solutions to programming challenges from Java: From Control Structures Through Objects by Tony Gaddis Sixth Edition.
I'm a CS graduate working through these challenges to sharpen my Java fundamentals. Challenges are completed daily and organized by chapter.
Each folder corresponds to a chapter in the book.
Chapter_01/Chapter_02/Chapter_03/- ...and so on
- Arrays and ArrayLists
- Object Oriented Programming
- Inheritance and Polymorphism
- Exception Handling
- File I/O
- GUI Applications (Swing/JavaFX)
You'll need the JDK (Java Development Kit) installed on your machine.
macOS:
brew install openjdk@21Linux (Ubuntu/Debian):
sudo apt install openjdk-21-jdkWindows: Download the installer from Adoptium and add it to your PATH.
# 1. Fork this repo by clicking "Fork" in the top right on GitHub
# 2. Clone your fork
git clone https://github.com/YOUR_USERNAME/Tony-Gaddis-Java-Challenges.git
# 3. Navigate into the repo
cd Tony-Gaddis-Java-ChallengesNavigate to any problem set and compile with javac:
# Example - Chapter 2, Problem Set 4
cd Chapter_02/PC_04
# Compile
javac Main.java
# Run
java Main- Language: Java 21
- Compiler: javac (OpenJDK)
- Platform: macOS / Linux / Windows
🟢 In Progress
This README was generated with the assistance of AI. All code solutions are written by me, Yasin Zahir.