https://github.com/elifirinci/java-examples
A collection of Java examples covering Object-Oriented Programming (OOP) concepts and various Java techniques. Perfect for learners and developers looking to enhance their Java skills!
https://github.com/elifirinci/java-examples
file-handling java oop oop-principles swing-gui
Last synced: about 2 months ago
JSON representation
A collection of Java examples covering Object-Oriented Programming (OOP) concepts and various Java techniques. Perfect for learners and developers looking to enhance their Java skills!
- Host: GitHub
- URL: https://github.com/elifirinci/java-examples
- Owner: elifirinci
- License: mit
- Created: 2025-02-01T12:25:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-11T12:20:40.000Z (about 1 year ago)
- Last Synced: 2025-04-11T14:07:48.585Z (about 1 year ago)
- Topics: file-handling, java, oop, oop-principles, swing-gui
- Language: Java
- Homepage:
- Size: 73.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Java Examples Repository
This repository contains various **Java programming** examples. Below is a brief description of the included files and topics covered.
## Contents
### 1. **Basic Java Concepts**
- **StringExample.java** – Examples of string manipulation
- **CalculatingCircleArea.java** – Program to calculate the area of a circle
- **NumberPrediction.java** – Number guessing game
### 2. **Object-Oriented Programming (OOP) Examples**
- **Inheritance/** – Examples demonstrating inheritance in Java
- **polymorphism/** – Examples of polymorphism
- **GradeBook/** – A grade book application
### 3. **Collections and Loops**
- **Collections/** – Examples related to Java Collections Framework
- **enhanced_for/** – Usage of enhanced for loops
### 4. **File Handling**
- **FileHandling.java** – Basic file reading/writing operations
- **FileHandling2.java** – Advanced file handling examples
### 5. **Graphical User Interface (GUI) Examples**
- **Swing/** – Java Swing components (e.g., PasswordField)
### 6. **Other Examples**
- **RabbitVsBirdsGrowth.java** – A program modeling the growth of rabbits and birds
- **roll-game.java** – A dice rolling game
- **uni-system/** – A simple university management system
## How to Use
1. Clone the repository:
```sh
git clone https://github.com/elifirinci/java-examples.git
```
2. Run the Java files using an IDE or terminal.
3. Feel free to modify and expand the examples.
## License
This project is licensed under the [MIT License](LICENSE).