How do I reclare an int array, call this function, and receive the return value into the int array? Was trying a few things out and keep getting errors when compiling.
Hi Roberto, Thanks for the message. One thing though. If I were to try and use :
I get the following error when trying to compile. This is probably a very basic call on your part but I'm not sure what the issue is here. Could you take a look and see if you can determine the cause? Thanks again, really appreciate the help.
Champ, I think that, in your scenario, the most appropriate decision would be to follow my good buddy Rob Prime's suggestion. Instead of returning ArrayList<Integer>, your assignInt method could return int []. This would ease a lot your work.