Slide 26 of 33Lecture 1: Introduction 
PreviousNextOverview

Answers

  1. System.out.println("Hello,"); System.out.println("World");
  2. Yes–the line starting with // is a comment, intended for human readers. The compiler ignores comments.
  3. The printout is My lucky number is12. It would be a good idea to add a space after the is.