Ah, that makes sense. I was barking up the wrong tree thinking the error was due to trying to pull an int from a string array. Let me work on the coding a little bit and declare my statements a...
Type: Posts; User: jo15765
Ah, that makes sense. I was barking up the wrong tree thinking the error was due to trying to pull an int from a string array. Let me work on the coding a little bit and declare my statements a...
No it does not compile. When I try to compile that code, I get an error of:
error: cannot return a vlue from a method whose result type is void
To answer your questions:
--My plan of attack...
I am trying to find the Biggest number in an array. I can't seem to get my coding down pat with it.
myarray[size] = JOptionPane.showInputDialog("Enter Number" + size + ":");
if...