Did you read read my last post? None of what you just said suggests otherwise, and stating 'its not working' is fairly meaningless - what's not working? Whats the behavior? Stack trace? Output...
Type: Posts; User: copeg
Did you read read my last post? None of what you just said suggests otherwise, and stating 'its not working' is fairly meaningless - what's not working? Whats the behavior? Stack trace? Output...
It helps to post the full stack trace - which tells what line the exception is being thrown, and should point you in the right direction. I'd suggest reading this link: Arrays (The Java™ Tutorials >...