Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

convert from char to int

843785Jul 5 2008 — edited Jul 5 2008
hey
I've an input string ("1234")
What i need to do is to fill a matrix 2*2 with the input string.
I thought about running over the string, and by str.charAt(ind) to get a needed charters, but the question is ho do i convert charAt result to int?

tanx
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 2 2008
Added on Jul 5 2008
2 comments
412 views