https://github.com/gourabofficial/overpower-java
Exploring Java with simple projects and examples, Through hands-on coding
https://github.com/gourabofficial/overpower-java
java java-8 java-object-oriented-programming object-oriented-programming oop oop-java
Last synced: 3 months ago
JSON representation
Exploring Java with simple projects and examples, Through hands-on coding
- Host: GitHub
- URL: https://github.com/gourabofficial/overpower-java
- Owner: gourabofficial
- Created: 2024-03-27T15:08:02.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-03T17:29:24.000Z (8 months ago)
- Last Synced: 2025-01-12T16:11:19.457Z (5 months ago)
- Topics: java, java-8, java-object-oriented-programming, object-oriented-programming, oop, oop-java
- Language: Java
- Homepage:
- Size: 261 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](#introduction)
- [How to Compile and Run Java Code](#how-to-compile-and-run-java-code)
- [Best Practices](#best-practices)
- [Recommended Resources](#recommended-resources)
- [Projects](#projects)## 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](https://www.oracle.com/java/technologies/javase-downloads.html).
2. **Check Installation**: Verify your installation by running the following command in your terminal:
```bash
java -version
```3. **Compile Java Code**: Navigate to the directory containing your `.java` files and run:
```bash
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:
```bash
java YourFileName
```### Example:
```bash
cd Project1
javac Main.java
java Main