FireEdgeX
0

LESSON 01 ยท JAVA

Classes and the main method

A Java program organizes behavior in classes and starts in main.

5 min readIn progress

THE IDEA

Understand the concept

Java source defines classes, and the runtime calls a public static main method as the entry point of a simple application. The method receives command-line arguments as a string array.

WORKED EXAMPLE

See it in context

Example