https://github.com/arikmukherjee/java-tutorial
https://github.com/arikmukherjee/java-tutorial
java java-8
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/arikmukherjee/java-tutorial
- Owner: arikmukherjee
- Created: 2026-04-15T14:19:22.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2026-05-02T03:51:29.000Z (2 months ago)
- Last Synced: 2026-05-02T05:24:49.758Z (2 months ago)
- Topics: java, java-8
- Language: Java
- Homepage:
- Size: 43 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Java Tutorial
This repository contains Java Tutorials.
## About Java
Java is a popular, object-oriented programming language designed for portability across platforms ("write once, run anywhere").
Key features:
- Platform independence via the Java Virtual Machine (JVM)
- Strong typing and memory safety
- Rich standard library (collections, streams, concurrency, I/O, GUI, networking)
- Robust object-oriented design (classes, interfaces, inheritance, polymorphism, encapsulation)
- Automatic garbage collection
## Repository structure
Files in this repo are numbered practice problems:
- `Basic Java` to `Advance Java` (example exercises and hands-on assignments)
## Getting started
1. Install JDK (Java Development Kit) 17 or newer.
2. Open a terminal in this folder (`Java-Tutorial`).
3. Compile a program:
- `javac Main.java`
4. Run the program:
- `java Main`
## Example Java program (main method)
```java
public class Main {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
```
## Tips
- Use `javac` to compile and `java` to run.
- Use IDEs (IntelliJ IDEA, Eclipse, VS Code) for easier editing, compiling, and debugging.
- Keep each class in its own file (named `ClassName.java`) for larger projects.