I dont know if it is possible, but i have two simple java class
1. for adding two number (input from terminal)
2. for doubling and displaying the output from above
the output form the first class needs to be the input to the second class
i tried running these few commands but not of them seem to be working:
java FirstClass | java SecondClass
java FirstClass > result && java SecondClass < result
Is there a method to do what am i trying to? or is it impossible?