// CSE 142 Lecture 2 // Static methods, Data Types, Expressions, Variables // Prints out an egg, cup, stop sign, and hat. public class Figures { public static void main(String[] args) { egg(); cup(); stopSign(); hat(); } public static void egg() { eggTop(); eggBottom(); System.out.println(); } public static void eggBottom() { System.out.println("\\ /"); System.out.println(" \\______/"); } public static void eggTop() { System.out.println(" ______"); System.out.println(" / \\"); System.out.println("/ \\"); } public static void cup() { eggBottom(); saucer(); System.out.println(); } public static void saucer() { System.out.println("+--------+"); } public static void stopSign() { eggTop(); System.out.println("| STOP |"); eggBottom(); System.out.println(); } public static void hat() { eggTop(); saucer(); } }