ну я за что купил за то и продаю. Вот первый резалт из гугла:
The class interface or enum expected error is a compile-time error in Java which arises due to curly braces. Typically, this error occurs when there is an additional curly brace at the end of the program.