Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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.