Java Java Objects Harnessing the Power of Objects Handling Exceptions

Brandy Steals
PRO
Brandy Steals
Pro Student 5,455 Points

Compile Error before coding changes

Receiving the following error before making any coding changes. How can we complete the challenge?

JavaTester.java:70: error: Illegal static declaration in inner class Example public static void main(String[] args) { ^ modifier 'static' is only allowed in constant variable declarations 1 error

2 Answers

Jason Anders
MOD
Jason Anders
Treehouse Moderator 144,839 Points

Hi Brandy,

Unfortunately, there have been some issues with the Java challenges and the Code Checker engines. I'm sure the Support Team is working hard to fix the problem!

For the time being, I suggest continuing on with the course (if you'd like) by navigating over the challenge using the buttons in the progress bar above the video window.

Just make sure you come back later to complete the challenge so you receive full credit and the badge for the course. Hopefully everything gets up and going smoothly soon.

Keep Coding! :) :dizzy: