Wednesday, April 20, 2011

Scope and inner-ness of nested class

Following table shows various nested classes:
Types of Nested Classes
Type Scope Inner
static nested class member no
inner [non-static] class member yes
local class local yes
anonymous class only the point where it is defined yes

No comments:

Post a Comment

Chitika