This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Ok so, i have this code where i have 1 button linked to a method to calculate something(the method is in another class) and it returns an array with what it was supposed to calculate. then i have another method which needs to display all of it.. the thing i need help with is getting the thing it returned from 1 method into another.. i cant figure it out. .is there anything you can type to just make it read variables from other methods without having to make it return something?
Joined: Jun 06, 2004
this is the code.. the bottom one is the button that i need to use to display it.. i need to get the array that gets returned.. and put it into that second method....