Mike Simmons wrote:Well, let's not confuse inadvisable with impossible...
line 17 wrote:Exception in thread "main" java.lang.ClassCastException: [C cannot be cast to [B
Liutauras Vilda wrote:...
...line 17 wrote:Exception in thread "main" java.lang.ClassCastException: [C cannot be cast to [B
salvin francis wrote:
Liutauras Vilda wrote:...
...line 17 wrote:Exception in thread "main" java.lang.ClassCastException: [C cannot be cast to [B
Use char[] instead of byte[] and it will work for you.
Liutauras Vilda wrote:But if you can manage to reverse string, then you can do almost anything
Mike Simmons wrote:Well, let's not confuse inadvisable with impossible...
Mike, I didn't see your latest post when I posted this.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.