Java Program Example With Methods Of Heat