Skip to content

Exploring Java with simple projects and examples, Through hands-on coding

Notifications You must be signed in to change notification settings

gourabofficial/Overpower-JAVA

Repository files navigation

Java Explore

Welcome to Java Explore! This repository is a collection of my personal Java projects and coding exercises. It showcases my journey in learning and experimenting with Java.

Table of Contents

Introduction

This repository serves as a sandbox for exploring various Java concepts, including object-oriented programming, data structures, algorithms, and more. Each directory contains a different project or exercise with its own set of files and instructions.

How to Compile and Run Java Code

To compile and run Java code, follow these steps:

  1. Ensure JDK is Installed: Download and install the Java Development Kit (JDK) from Oracle's official site.

  2. Check Installation: Verify your installation by running the following command in your terminal:

    java -version
  3. Compile Java Code: Navigate to the directory containing your .java files and run:

    javac YourFileName.java

    This command compiles your Java file and generates a YourFileName.class file.

  4. Run Java Code: Execute the compiled class file using:

    java YourFileName

Example:

cd Project1
javac Main.java
java Main

About

Exploring Java with simple projects and examples, Through hands-on coding

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages