public class Person { public static final long DELAY_TIME = 1999999999; // A very quick and dirty way to implement a time delay in a program, // there's better (but more complicated) alternatives e.g., threads // A private method because it's only used internally by other // methods to 'pause' the program. private void delayTime() { for (long i = 0; i <= DELAY_TIME; i++); } public void doDailyTasks() { System.out.println("I am sleeping: zzzZZZZzzz"); delayTime(); System.out.println("I am eating: yum! yum! yum!"); delayTime(); System.out.println("I am drinking: hic, hic, hic"); delayTime(); System.out.println("I am execreting: :P :P :P"); } }