S
Scott Simpson
I've been reading a document that states:
1. In Java a nested class can be declared in any block including methods.
2. The ability to create nested classes in methods in Java may seem
unnecessary but combined with anonymous inner classes can provide a
means of creating power design patterns.
Does anybody know which design patterns this author is referring to?
Lexical closures perhaps?
1. In Java a nested class can be declared in any block including methods.
2. The ability to create nested classes in methods in Java may seem
unnecessary but combined with anonymous inner classes can provide a
means of creating power design patterns.
Does anybody know which design patterns this author is referring to?
Lexical closures perhaps?