posted 22 years ago
Hi Vinoo,
Just two quick notes:
1. You can declare static variables inside non-static inner classes if they are constants i.e. final static
The following compiles without error.
2. A member class declared in an interface cannot be private or protected but an inner class declared within an interface can be.
The following compiles without error.
Good luck on the 6th!
------------------
Jane Griscti
Sun Certified Programmer for the Java� 2 Platform
[This message has been edited by Jane Griscti (edited October 04, 2001).]