Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Main {
- public static void main(String[] args) {
- //String literal = anything between double quotes "this is a literal"
- /*
- Names lab starts here
- */
- System.out.println ();
- System.out.println ("\tName\t\tHometown\tMajor");
- System.out.println ("\t====\t\t========\t=====");
- System.out.println ("\tSally\t\tRoanoke\t\tCSci");
- System.out.println ("\tAlexander\tWashington\tHistory");
- System.out.println ("\tSarah\t\tMinneapolis\tGraphic Design");
- System.out.println ("\tRasheem\t\tSt. Paul\tSoftware");
- System.out.println ("\\");
- /*
- Student Grades starts here
- */
- // \" - prints out double quotes
- // \\ - prints out \
- System.out.println ("///////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement