This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
I don't think you are allowed to have access modifiers inside the main method. I am not completely sure about that. But I just did a small test:
And got these compile errors:
TestPublic.java:5: illegal start of expression
public int FIVE = 5;
TestPublic.java:6: illegal start of expression
private int SIX = 6;
TestPublic.java:7: illegal start of expression
protected int SEVEN = 7;
Based off that id say the access modifiers are a no-no in the main method.
"If the facts don't fit the theory, get new facts" --Albert Einstein