Skip to content

Repository files navigation

trial 1

☕ Java Basic Example

Welcome to my first Java program! 🚀 This project is created to understand the basics of Java programming.


📌 What is this project?

This is a simple Java program that prints a message on the screen.


💻 Code Example

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

▶️ How to Run

Follow these steps:

  1. Install Java (JDK)

  2. Save the file as Main.java

  3. Open terminal / command prompt

  4. Compile the program:

    javac Main.java
    
  5. Run the program:

    java Main
    

📚 What you will learn

  • Basic Java syntax
  • How to write a main method
  • How to print output

🎯 Output

Hello, World!

🙌 Author

Your Name


⭐ Note

This is a beginner-level project. More features will be added soon!

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages