Java: reusable encapsulation with interface, abstract class or inner classes?
- by HH
I try to encapsulate. Exeption from interface, static inner class working, non-static inner class not working, cannot understand terminology: nested classes, inner classes, nested interfaces, interface-abstract-class -- sounds too Repetitive!
Exception 'illegal type' from interface apparently because values being constants(?!)
static…