Why when using an editor do I get the error:
Error: line 4 - cannot find symbol - method charAt(int)
I am trying to extract the integer characters from the String to then Parse them into Integers.
I am just using println() to check character extraction.
Martin Gerard wrote:. . . Error: line 4 - cannot find symbol - method charAt(int) . . .
Your object hasn't got a charAt() method. You can't simply call that method. You have to precede it with a reference to the object you are calling it on: in this case num. Since I have seen the name num applied to numbers, I don't think it is a good name for a String.
You won't get the numeric values printed like that; you will have to convert the chars to ints, which you can do with a cast or the rarely used unary + operator.