Update MyTransient.java

other learning of key words: native, volatile