You are viewing a single comment's thread. Return to all comments →
There appears to be an error with the code, where the main function is trying to call "getHeight", but the function is named "height". Just thought admins might like to know :)
am having the same issue.
Not sure I understand - you can define the name of the function to be whatever you want, right?
Right, but it seems like it was intended to be formatted so that the user doesn't need to change the name of the function.
I am facing the same issue.
Late to the party, but if you switch to Java 8 their code is correct.