accessing static variable in multi threading system
<p>I have to take one input from console in first java program. That input i have to pass in second java program which is getting executed as thread from the main method of first java program.</p>

<p>I made the variable as static and tried accessing in second java program but it is showing null value(default value).</p>

<p>I am not supposed to make the object of first program also.
Please suggest me how to do?</p>
