Monday, April 16, 2012

Public, Protected, and Private Interfaces... Yes Interfaces.

One of the junior developers came to me on Friday and asked if an interface could be private, or protected. I said sure, but it must be an inner interface. The interface must be contained within a containing class. So I decided to create a couple of examples of interface fun for you to appreciate.

The NetBeans project is located here: interfaces.zip

code

3 comments :

Popular Posts