Example Java Program With Methods Of Heat