java ex chapter 2
Mon Sep 12 2022 19:29:05 GMT+0000 (Coordinated Universal Time)
Saved by
@cruz
#javascript
public class HelloYou {
public static void main(String[] args) {
System.out.println("Hello Maria!");
}
}
//.print keeps it on the same line
public class HideAndSeek {
public static void main(String[] args) {
System.out.println("Let's play hide and seek.");
System.out.print("Three...");
System.out.print("Two...");
System.out.println("One...");
System.out.println("Ready or not, here I come!");
}
}
content_copyCOPY
Comments