Welcome to my Java Programming repository! This repo contains the code I wrote while learning Java for the first time. It serves as a personal reference and may help others who are just starting out as well.
- Basic Syntax: Variables, Data Types, Operators, and Control Flow (if, for, while)
- Object-Oriented Programming (OOP): Classes, Objects, Inheritance, Polymorphism, Abstraction, and Encapsulation
- Exception Handling: Try-Catch blocks and custom exceptions
- Collections Framework: ArrayLists, HashMaps, LinkedLists, and more
- File Input/Output (I/O): Reading from and writing to files
- Basic Algorithms: Sorting, Searching, etc.
To run any of the Java programs in this repo:
-
Clone the repo:
git clone https://github.com/schak04/java-learning-journey.git
-
Navigate into the project folder:
cd java-learning-journey
-
Compile and run a program (example for
HelloWorld.java
):javac HelloWorld.java java HelloWorld
Each program is contained in a single .java
file, named based on the task or concept it demonstrates.
Files prefixed with CSE310_
were written by me during my university Java course (CSE310). The rest were written independently at home during self-practice.
This repository is a work in progress. I will continue to add more code and examples as I explore new Java concepts, projects, and challenges. Stay tuned for more updates!