posted 18 years ago
hi,
In general a top level class cannot be marked with private nor protected access.these top level classes can be marked only as public or can have default access.
(however you can have all these access modifiers for inner classes)
so,ur code gives error.
regards,
-nithya