use return a; You use the backets only when declaring an array (e.g. String a[][] = new String[5][5]) or working with a specific element in an array (e.g. a[1][2] = "test" or String s = a[1][2]). When in doubt, just try compiling it.
Blake Minghelli<br />SCWCD<br /> <br />"I'd put a quote here but I'm a non-conformist"
What are you declaring that you return? You need to do something like this: public double[][] myMethod() { double[][] a; ..... return a; } And when you invoke the method: double[][] b = myMethod();