First part compiles. Try putting each class as a separate .java file.
Yep, you must have all of them in save .java file.
If each class is in separate file, it compiles fine for me.
Type: Posts; User: javapenguin
First part compiles. Try putting each class as a separate .java file.
Yep, you must have all of them in save .java file.
If each class is in separate file, it compiles fine for me.
I'm guessing it might be a bracket error or a missing ; or something.
Am checking it out now.