Skip to content

danielcregg/java-helloworld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Java Hello World

Java License: MIT

A simple Java Hello World program that demonstrates basic Java syntax, package structure, and console output.

Overview

This project provides a minimal Java application that prints "Hello World!" to the console. It serves as a foundational example for learning Java programming, illustrating proper package declarations, class structure, and the main method entry point.

Features

  • Clean and well-commented Java source code
  • Proper package structure (ie.gmit.packagename)
  • Standard main method entry point
  • Console output demonstration

Prerequisites

Getting Started

Installation

Clone the repository:

git clone https://github.com/danielcregg/java-helloworld.git
cd java-helloworld

Usage

Compile and run the program:

javac -d out src/ie/gmit/packagename/HelloWorld.java
java -cp out ie.gmit.packagename.HelloWorld

Expected output:

Hello World!

Tech Stack

  • Language: Java
  • Package: ie.gmit.packagename

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

A simple Java Hello World program demonstrating basic Java syntax, package structure, and console output.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages