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.
The main problem with your class BenHultinProg4 is that you are putting all kinds of statements directly in the class declaration. That doesn't work. You need to create methods, and put those statements inside methods. You can't, for example, call System.out.printf(...) at class level. You can only do that inside a method.