I wanted to know if there was a way to import the code of dynamic changing code into the main coding. Something like this:
Main:
int x;
(insert input.java)
Contents of input.java:
x = 2;
Can I import the code inside input.java to the main code?