java 11 observable code example Example: java observable setChanged(); notifyObservers(object_that_u_want_to_send_to_Observer);