Skip to content
Advertisement

How to convert an String Variable with Array to an Integer Variable with Array

I am new to java programming. I am trying to convert an string variable with array to an int variable array

but i have 2 errors and have no idea to fix it,

any help would be great, thanks..

This is my source code :

JavaScript

This is what the errors look like

Advertisement

Answer

Try below code, it is working.

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement