Java for Python programmers

Published by tim

Hello World

In Python saying "Hello World" is as easy as making a .py file called with the code

print('Hello world')

and run it with `python`

However with Java it is like this:

public class HelloWorld {

    public static void main(String[] args) {
        // Prints "Hello, World" to the terminal window.
        System.out.println("Hello, World");