Skip to content

Aditya12-cell/java_practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Programs Repository

This repository contains basic Java programs for learning and practice.

🚀 Programs Included

  • Hello World Program
  • Calculator Program
  • Exception Handling Example
  • Multithreading Example

☕ Example Java Program

public class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello, World!");
    }
}

📌 Description

This program prints Hello, World! on the console. It is the first program most beginners write when learning Java.


🛠 How to Run

  1. Install Java (JDK).
  2. Save the file as HelloWorld.java.
  3. Compile the program:
javac HelloWorld.java
  1. Run the program:
java HelloWorld

📂 Author

Aditya Kumar

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages