An open API service indexing awesome lists of open source software.

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!

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).