Hello, I need some help.
For my situation, let say I have a 3 classes, Calculator main, Computation and Graph.
Basically, it's like the following:
Computation main class will calls ComputeCircleMethod from computation class.
The computation class will generate a input and use it as a variable and calls a method of the graph class.
The graph class will then return a output.
This will repeat for a few times until the final desired output is gotten.
Input || Graph Class || Output
A -----------------------> B
B -----------------------> C
C -----------------------> D
D -----------------------> E (Final Desired Output)
My question is, I know that the calling class, Computation class would have access to value A,B,C,D and E. However is it possible, to create a class or any other ways which allow me to get the value A, B and C within the method of the computation class, without adding any codes into the computation class or graph class.
Many thanks in advance.