This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
You haven’t said what your question is.
Please re-post the error message using copy-and-paste because screenshots are so hard to read. If you go through the Java Tutorials, you find there are restrictions on inner and nested classes, and whether they are or are not static. Also look for a copy of Bruce Eckel’s Thinking in Java™, which has a whole chapter about inner classes. You can probably download the 3rd edition free of charge.