Skip to content
jennahorrall edited this page Feb 4, 2019 · 8 revisions

Less-Java

An Introductory Programming Language

Less-Java is very similar to Java, with some simplified changes to syntax and function in order to promote understanding of concepts in a more simplified manner.

Hello World

Here is a basic hello world program:


main() {
    println(“Hello, World”);
}

Notice two things that differ from Java:

  • Instead of public static void main(String[] args), the main method is recognized as main()
  • Instead of System.out.println(“Hello, World!”), it is simply println(“Hello, World)

Declarations

Clone this wiki locally