Chapter 2

This commit is contained in:
Steven Tracey 2023-02-01 10:24:41 -05:00
parent 2b3da4d6fa
commit 5073cfb137
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,14 @@
package tech.nevets;
public class STWelcome {
public static void main(String[] args) {
System.out.println("Welcome to Java Programming.");
System.out.print("I think this class ");
System.out.println("will be awesome!");
System.out.println("I promise not to cheat in this class");
System.out.println("If caught, I will be withdrawn with an F grade");
System.out.println("Como estas hoy");
System.out.println("J'espere que tu aimes ce cours");
System.out.println("Byona gironata");
}
}

View File

@ -0,0 +1,22 @@
// This program prints text to console
// Steven Tracey
//class declarator
//main method
Display "Welcome to Java Programming."
Go to next line
Display "I think this class "
Display "will be awesome!"
Go to next line
Display "I promise not to cheat in this class"
Go to next line
Display "If caught, I will be withdrawn with an F grade"
Go to next line
Display "Como estas hoy"
Go to next line
Display "J'espere que tu aimes ce cours"
Go to next line
Display "Byona gironata"
End of program