Title: Basics Hello World Comments
Course: CPS 161: An Intro to Programming with Java - DL MM MASTER > Section: Learning Units - Bb

Presentations and Videos

- Basic Hello World Comments lecture video (Time: 18:00)
- Basics Hello World Comments document

- Best to have class name and the file name match(pay attention to case)
- Program execution requires:System.out.println and System.out.print
  - public static void main(String[]args)
- Keyboard input requires something like:
  - Scanner keyboard = new Scanner(System.in);
- Importing packages like the Scanner require something like:
  - import java.util.Scanner;
- User's input can be returned from the Scanner keyboard with calls to:
  - keyboard.nextLine(), keyboard.nextInt(), etc.