My solution won't submit even though it works perfectly

197 views
Skip to first unread message

Delinquent

unread,
Apr 7, 2020, 9:04:11 PM4/7/20
to mooc.fi
Hi,

I'm having problems with week 7 exercise 01  on course Java Programming 2020.

My solution works perfectly as desired but once I submit them they cause this error: 
Something went wrong. Might be that class LiquidContainers-class public static void main(String[] args) -method has dissappeared
or the program failed with an exception. More information: java.lang.ArrayIndexOutOfBoundsException: 1
Can anyone please tell me what's wrong here? My public static void main (String[] args) hasn't disappeared as the error says so. Is it an error of the exercise or am I really missing something? I'm in total confusion and any help would surely be appreciated.. Thanks!


Best regards


Supported languages are English and Finnish

Please use our build in TMC Pastebin when asking questions related to your code  
 
TMC Plugin has built-in code sharing feature. 
In NetBeans, select TMC -> Send code to TMC pastebin. Copy the link you receive and paste it to your message.  

You may use our web interface to share code snippets: http://paste.mooc.fi
Reply all
Reply to author
Forward
0 new messages