posted 23 years ago
Hi guys!
I agree with Jon and Thomas. They provide good reason. I have another doubt about this type that whether or not the impact of modifiers(coderanch, protected, private) of enclosing method, occurs on the anonymous class. e.g if we have a method "private void amethod(){}" and we have an anonymous classin it , so is there any impact of the private modifier of the enclosing method, means when we change that modifier to public or protected.
Regards
Farhan