Which combination of modifiers in class declaration is invalid

Question | Jul 11, 2017 | nextptr 

A Java class declaration can have these modifiers:

  • public
  • final
  • abstract

There is another less commonly used modifier - strictfp - for forcing consistent floating point values across different platforms. Also, nested classes can be declared with few more modifiers namely -- private, protected, and static. We are going to keep this question limited to public, final and abstract modifiers applied to only outer classes.

One or more of these class modifiers can be applied to a class declaration. But, not all combinations of the class modifiers are valid.

Select the one invalid class declaration (of class A ) from given choices: