How To Change The Value Of Global Variable In Java