Tag - example of non return type function in java