I am defining methods so my Java code can feel a little more like Python. (Please ignore string concatenation with the + as if it is an error, I will solve it!) However, my input function called input() is throwing an error saying
class, interface, or enum expected
Why is this error being thrown? Not even replacing it with char[] is working! What do I do about it?
My link:
https://onlinegdb.com/By045WnoU