I\'m trying to return a 2d array from call(), I\'m having some issues. My code so far is:
//this is the end of main
Thread t1 = new Thread(new ArrayMultip
In addition to Joseph's excellent answer, note that your method signature is int[][] call(int[][])
. If you reference the Callable
javadoc you'll see that the Callable
's call()
method does not take any arguments. So your method is an overload, not an override, and so won't be called by anything that is calling Callable
's call()
method.