I have 2 java files, each with their main method. I want to keep each as "public static void main(String argv) throws Exception
I want class A to instantiate a value, and return it so class B can access it. So I think what I need to do is create an inner class within class A that returns a value (double) for B to use - but I don't know how to go about this.
thanks in advance