KWPro.net

you know you've been writing too much Java when...
By: conark
Published On: 7-25-2007

public interface KeithsPet
{
   public void abuse(String type) throws AbuseNotFoundException;
}

public class Alfred implements KeithsPet
{
   public static final int ALL = 1;
   public void abuse(String type) throws AbuseNotFoundException
   {
      KeithsAbuseFactory f = KeithsAbuseFactory.getInstance();
      Abuse abuse = f.createAbuse(type);
      abuse.mentalTorture(ALL);
   }
}


public static void main(String[] args)
{
  Alfred baku = new Alfred();
  try {
    baku,abuse("mental");
    baku.abuse("body size");
    baku.abuse("sleep deprivation");
  }
  catch (Exception e)
  {
    baku = null;
  }
  System.out.println("merry xmas")
}

....your sense of humor devolves into this....

Tags: java humor
AddThis Social Bookmark Button Sphere: Related Content

Trackbacks: (Trackback URL)

No Comments Posted Yet
July [August] September
Sun Mon Tue Wed Thu Fri Sat
31 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31 1 2 3