Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/harsharchives/java-programs
This repository contains a collection of programs written in Java that demonstrate the principles of object-oriented programming and how to handle exceptions in Java.
https://github.com/harsharchives/java-programs
basics-of-java corejava exception-handling java object-oriented-programming
Last synced: 7 days ago
JSON representation
This repository contains a collection of programs written in Java that demonstrate the principles of object-oriented programming and how to handle exceptions in Java.
- Host: GitHub
- URL: https://github.com/harsharchives/java-programs
- Owner: HarshArchives
- Created: 2023-05-01T18:47:33.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-29T08:47:19.000Z (over 1 year ago)
- Last Synced: 2024-11-09T02:38:32.209Z (2 months ago)
- Topics: basics-of-java, corejava, exception-handling, java, object-oriented-programming
- Language: Java
- Homepage:
- Size: 159 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# :computer: Object Oriented Programming and Exception Handling in Java
Welcome to the Object Oriented Programming and Exception Handling in Java repository! This repository contains a collection of programs written in Java that demonstrate the principles of object-oriented programming and how to handle exceptions in Java.
## :rocket: Getting Started
To get started, you'll need to have the following installed on your computer:
- Java Development Kit (JDK) 8 or later
- A text editor or integrated development environment (IDE) for editing Java code
To use the programs in this repository, you will need to have Java installed on your computer. You can download the latest version of Java from the official website: https://www.java.com/en/download/
Once you have the necessary tools installed, you can clone this repository to your local machine using the following command:
```bash
git clone [email protected]:geekyharsh05/Java-Programs.git
```
Alternatively, you can download the repository as a ZIP file and extract it to your local machine.
## :pushpin: Object Oriented Programming
The Object Oriented Programs folder contains a collection of Java programs that demonstrate the principles of object-oriented programming.
Some of the programs you'll find in this repo includes:
- Inheritance
- Polymorphism
- Abstraction
- Encapsulation
- Interfaces
## :pushpin: Exception Handling Programs
The Exception Handling Programs folder contains a collection of Java programs that demonstrate how to handle exceptions in Java.
Some of the programs you'll find in this repo includes:
- Try-Catch Blocks
- Finally Blocks
- Custom Exceptions
## :handshake: Contributing
Contributions to this repository are always welcome! If you'd like to contribute a new program, fix a bug, or improve an existing program, please submit a pull request with your changes.
Before submitting a pull request, please make sure your code follows the [Java Code Conventions](https://www.oracle.com/java/technologies/javase/codeconventions-introduction.html) and includes appropriate comments and documentation.
## :thumbsup: Conclusion
That's all for now! I hope you find these programs useful in your journey to learn object-oriented programming in Java and exception handling. If you have any questions or suggestions, please feel free to open an issue in the repository.