Skip to content

YasoJan/Tony-Gaddis-Java-Challenges

Repository files navigation

Tony Gaddis Java Challenges

Solutions to programming challenges from Java: From Control Structures Through Objects by Tony Gaddis Sixth Edition.

About

I'm a CS graduate working through these challenges to sharpen my Java fundamentals. Challenges are completed daily and organized by chapter.

Structure

Each folder corresponds to a chapter in the book.

  • Chapter_01/
  • Chapter_02/
  • Chapter_03/
  • ...and so on

Topics Covered

  • Arrays and ArrayLists
  • Object Oriented Programming
  • Inheritance and Polymorphism
  • Exception Handling
  • File I/O
  • GUI Applications (Swing/JavaFX)

Getting Started

Prerequisites

You'll need the JDK (Java Development Kit) installed on your machine.

macOS:

brew install openjdk@21

Linux (Ubuntu/Debian):

sudo apt install openjdk-21-jdk

Windows: Download the installer from Adoptium and add it to your PATH.

Fork & Clone

# 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-Challenges

Compile & Run

Navigate 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

Environment

  • Language: Java 21
  • Compiler: javac (OpenJDK)
  • Platform: macOS / Linux / Windows

Status

🟢 In Progress

Disclaimer

This README was generated with the assistance of AI. All code solutions are written by me, Yasin Zahir.

About

Solutions to programming challenges from Java: From Control Structures Through Objects by Tony Gaddis (6th Edition).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages