Learn to Program with ZedLX

Free Online Programming Course for Beginners

Introduction [4/10]

Run the program to see it in action.

In programming, “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 like +, -, *, and / .

Important Notes:

  • Plain statements must end with a semicolon (;)
  • To print multiple items, separate them by commas (,)

Loading...