Wednesday, March 02, 2005

CS 120 - Introduction to Java

public class JavaCity
{
public static void main (String args[])
{
time = 9:47 am;
CoffeeDrinker Suzie = new CoffeeDrinker();

Suzie.setCold();
Suzie.setTired();

time = 9:49 am;
Suzie.setStrangeAndNewFeeling();
Suzie.wantCoffee();

time = 10:12 am;
Suzie.parkCar(parkingLot);

try
{
Suzie.enter(JavaCity);
}

catch (if JavaCity.line = too long)
{
Suzie.goToClass(ScienceBuilding);
exitProgram();
}

Waitress Cindy = new Waitress();

Cindy.askSuzieToOrder();
Suzie.panic(doesn'tKnowWhatToOrder);
Suzie.orderFirstThingOnMenu(
WhiteChocolateCafeMocha);

Drink WCCM = new Drink();
WCCM.setHot();

time = 10:23 am;
Suzie.sip();
Suzie.burn(tongue);

Suzie.goToClass(ScienceBuilding);

for (i = 1; i < 11; i++)
{
time = time + 1;
Suzie.sip();
Suzie.say("Yuck!");
}

time = 10:33 am;
Suzie.sip();
Suzie.say("Yum");

time = 10:37 am;
Suzie.start(shaking);

time = 10:38 am;
Suzie.start(headache);

time = 10:42 am;
WCCM.setWarm();

time = 10:45;
WCCM.setCold();
Suzie.takeLastSip();

WCCM.delete();

Suzie.setAwake();

Coffee.setScore(1);
Suzie.setScore(0);
}
}

6 Comments:

At 9:56 AM, Blogger Unknown said...

You're right. I fixed it.

 
At 1:01 PM, Anonymous Anonymous said...

now you are no longer the outsider in our family! L.C.

 
At 1:30 PM, Anonymous Anonymous said...

Welcome to the magical land called Caffeinia, where energy is abundant and people talk really fast.

I speak a different dialect of Java, but I know exactly what you mean. It is the sweet elixer of life.

JEC

 
At 12:50 AM, Anonymous Anonymous said...

H²O is better.

 
At 10:20 AM, Anonymous Anonymous said...

Suzie, you make me laugh. I like reading your blog. Haha

-austin

 
At 2:37 PM, Blogger Andrew S. said...

That whole post was fantastic.

 

Post a Comment

<< Home