Java Program Example With Methods Of Depreciation