Brian writes letters in Java...

Nov 26, 2007 21:15

// Sarah-
public class BellRingerKey extends Key {
public BellRingerKey () {
System.out.println ("Please remind" + "Joe not to leave things in my car!");
}

public void ifLost () {
return;
}

}

Leave a comment

Comments 4

jkalderash November 27 2007, 03:13:29 UTC
I can spot two errors (well, one is more of a quibble), and I'm surprised that the ifLost() method compiles, but it does.

Reply

harmonylover November 27 2007, 03:51:14 UTC
Haha, you little nerd, you... :-) Oh, and I noticed the print.ln typo just now...

Reply


vulber November 27 2007, 15:26:25 UTC
you williams nerds...

Reply


senseless852 November 28 2007, 05:13:55 UTC
Key is an interface (java.security)! You can't extend an interface... unless you are an interface which you're clearly not! What kind of Key is it anyway? MD5? SHA-1?

PS. If you honestly think your Williams friends can out-geek me, you obviously have forgotten who I really am!

PPS. Besides for the above mentioned problem, I spot no errors.

Reply


Leave a comment

Up