syntx error, insert } to complet ClassBody

Look at your indentation and bracketing. Each method should have an opening and closing curly bracket. The error that you’re getting is caused by a missing bracket somewhere, meaning that the compiler thinks that you’ve not closed the class properly.

Browse More Popular Posts

Leave a Comment