Re: How to reverse a String without using java.lang.String and java.lang.StringBuffer methods ?
Tuesday, January 22, 2008 09:08 AM
That's a stupid question to begin with and poorly worded. Is it just the programmer that's not allowed to use those methods, or is nothing in the VM allowed to use those methods? (There are utility classes/methods that might be useful, but we all know they will call the same methods on the String instance anyway.) If we're going to play along in this silly game, then we need to know all the rules of what is and isn't allowed.