Lesson+01+-+Hello+World

Maybeth, Jose, Jeremiah, Roxana

Ex. public class Tester //this can be any name. Convention says to capitalize it.// //{// 123 **public static void main(String args[])** 123 //{// 123456 /*put code for main method here */ 123 **}**
 * Skeleton is the structure to begin Java.**
 * }**

Remarks and Methods are really important when making a skeleton Remarks (aka rems): /// /- line remark -- java ignores the line from there out// ///*- block rems. Use if you have a bunch of lines to comment (the// becomes tedious). Close the block comment with opposite (another way to say this is to start and end with a forward slash) */


 * System.out.print; //prints on current line and stops there waiting for the next print or println//**
 * //System.out.println;// completes printing on current line and pulls the next print position down to the next line**

Method:
 * System.out.println("");**
 * The printing is inside the quotation marks.**
 * ex.**
 * System.out.println("Hello World");**

To print a blank line:** System.out.println("Hello"); System.out.println; System.out.println("World"); OR System.out.println("Hello"); System.out.println(""); //two quotes right next to each other (called a null string)// //System.out.println("World");// //OR// //System.out.println("Hello\n");// use escape sequence /n (learned in Lesson 3) System.out.println("World");