Beginning of Java codes:
public class HelloPrinter { public static void main(String[] args) { System.out.println("Hello, World!"); System.out.println(args[0] + ", nice to meet you!"); } }
You can compile and run program as following: When you run, you add your input there.
System
class from the core library
to print the "Hello World!" message to standard
output.