posted 22 years ago
I wrote this post, but it seems to have vanished, so i'll try again. Here is a brain teaser that I hope someon can solve. You cannot have instances of an abstract class. And yet InputStream and Graphics are both abstract classes. Once can get instances of these classes using the getInputStream() and getGraphics() methods respectively. So what gives?
Thanks in advance
Dan