Usually, each class has its own file. When you create a new class, you create a new file. You're trying to shove all your classes into one file, which is giving you a headache.
You certainly can...
Type: Posts; User: KevinWorkman
Usually, each class has its own file. When you create a new class, you create a new file. You're trying to shove all your classes into one file, which is giving you a headache.
You certainly can...
I see. In your first example, you had your subclass inside your superclass, which makes your subclass also an inner class, which slightly complicates things. If your question has nothing to do with...
I just want to point out that it was copeg's suggestion, not mine (I don't disagree with him, I just don't want to take the credit).
And it's good that you can learn from code like that, but...
cs13, this is the third time I've sen you (poorly) spoon-feeding. Please read this before you post again: http://www.javaprogrammingforums.com/cafe/9544-problem-spoon-feeding.html
Continued...