Programming Course for Beginners - ZedLX

The Easiest Online Computer Programming Course, for Free

Introduction [4/10]

Run the program to see it in action.

In programming, the term “to print out” actually means “to display information on the screen”.

A text enclosed in quotation marks is called a string. Strings are printed on the screen exactly as they are written.

In addition to strings, a println statement can also print expressions. Expressions can use various operators, for instance +, -, *, / .

Important Notes:

  • Plain statements must be ended with a semicolon (;)
  • When printing multiple items, separate them with a comma (,)

Loading...