Originally Posted by mindlessn00b
In your main method, you cannot name a variable the exact same way as a class. You can use lowercase, but you cannot tell it to return String;
Second, even if you could, you never defined String anyway. It needs to be defined somehow in the main method or else it won't work.
Also, perhaps Console has to be static.
Third, all you've done is call the method within itself. You've never reversed the String!
Fourth, even if you have, you're returning the parameter S, not the reversed String.
I'm currently baffled as to how to reverse a Sting too.