0

I'm having a problem whereby I create an instance of a class called Calculations.class in one of my main classes, but cannot access that instance from any other class. Here is the code

public class Parameters{

//code//

Calculations calc = new Calculations();

//some calculations done using variables in the calculations class and new data is saved//

//end of Parameters.class//

}

public class Intake{

// I now want to work with the instance "calc" created above so I can use the variables that were set in Parameters.class, but I don't know how to reference this instance!! //

Any help will be greatly appreciated, thank you!!