You can't declare function inside function. You have to pull function out from main() to the Main.class
2.1m questions
2.1m answers
60 comments
57.0k users