lr.dPreview

Hello Java checkpoint

0 of 4 answered

Question 1 of 4

What does System.out.println("Hello, robot!") print to the console?

Question 2 of 4

Which keyword starts the definition of a Java class?

Question 3 of 4

Drag the lines into the order they'd run in a typical main method.

Drag the items into the correct order.

  1. Declare a variable⠿
  2. Print the variable⠿
  3. Return from main⠿
  4. Assign it a value⠿

Question 4 of 4

Write a main method that prints the number 42.
Code-and-pass-tests questions aren't wired up yet. This question will be skipped for grading.