This repository contains a collection of Java programs that demonstrate the use of Object-Oriented Programming (OOP) principles. These programs were written as part of university homework assignments and cover various OOP concepts such as classes, inheritance, and polymorphism.
- Clone the repository to your local machine
git clone https://github.com/Gabriel-x-1/JavaOOP.git
- Navigate to the directory where the code is located
cd oopexercises
- Compile and run the code using the Java compiler
javac <file-name>.java
java <file-name>
In each folder there is a pdf/txt file which contain the proposed problem. The solutions are found inside the same folder with the problems.