Java View all facts Glossary Help |
member > inner class > anonymous inner class |
anonymous inner class comparison table |
Subject | define | is a kind of | implement | has definition | extend |
---|---|---|---|---|---|
inner class | a class type whose instances are the values of the class type | nested class | more than one interface | A nested class whose instance exists within an instance of its enclosing class and has direct access to the instance members of its enclosing instance | only one superclass |
anonymous inner class | a constructor | inner class | a single interface | another class |
Up: inner class