Local inner classes
Thursday, August 20, 2009
You can define inner classes within the scope of a method, or even smaller blocks within a method. We call this a local inner class, and they are often also anonymous classes. Local inner classes cannot use local variables of the method unless those variables are marked final
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment