Is there ever a case, between, nested, top-level, anonymous, etc. classes that can not extend another class or inherit an interface. I know for anonymous classes you can not both extend and inherit (nor do multiple inheritance), but are there any other specifications for inheritance or extending?