O'Reilly logo
  • Aadil Hussain thinks this is interesting:

The static modifier can be applied to inner classes, inner interfaces, variables, and methods. Inner classes and interfaces aren’t covered in this exam.

From

Cover of OCA Java SE 8 Programmer I Certification Guide

Note

static can not be in top level class and Interface