use return a; You use the backets only when declaring an array (e.g. String a = new String) or working with a specific element in an array (e.g. a = "test" or String s = a). 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"
Joined: Dec 29, 2002
Well, thanks, but I get this errror when using return (a);
..........java:74: incompatible types found : double required: double return(a); ^