error passing value of a variable from one class to main method of another class

Printable View