Sunday, April 8, 2007

Syntactic Sillyness

Can you write a Java program where this is legal?

HaveYouSeen<? super Size> Me;

Inspired by the delightful book, Java Puzzlers

2 comments:

Mike Venneman said...

Yes. But I don't want to spoil the fun for the rest of your readers. :-)

Neal Gafter said...

The answer is "yes".

;-)