Welcome to the Java Practice repository! This collection of Java code examples is designed to help you learn and improve your Java programming skills.
- Core Java Concepts:
- Control Flow:
ifElse.java
,switch.java
,while.java
,doWhile.java
,forLoop.java
- Data Structures:
Array.java
,multidimenArray.java
- Object-Oriented Programming:
Class.java
,Constructor.java
,Overload.java
,methods.java
- Control Flow:
- Additional Examples:
Box.class
: Demonstrates creating and using a custom classOverloadDeno.class
: Example of method overloadingoverloadCons.class
: Example of constructor overloadingrectangle.class
: Implementation of a Rectangle class
- Clone the repository:
git clone https://github.com/puneet-khatri/Java-Practice
- Import the project:
- Eclipse: Import as a General Project.
- IntelliJ IDEA: Import as a Maven project.
- Other IDEs: Follow the specific instructions for your IDE.
- Run the examples:
- Open the desired
.java
file and execute it.
- Open the desired
Feel free to contribute to this repository by adding new examples, improving existing ones, or fixing issues. Here are some guidelines:
- Follow coding conventions: Adhere to standard Java coding practices.
- Write clear and concise comments: Explain the purpose of your code.
- Test your changes: Ensure your code works as expected.
Let's learn and grow together!