Skip to content

arikmukherjee/Java-Tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

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.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors