implement a full class Car that has teh following characteristics: brandName, PriceNew, Colour and Odometer. The class should have a constructor that prompts the user to enter the characteristics above. A method getPriceAfterUse() which return the price of the car after being used according to the following formula: price after being used = PriceNew* (1- odometer/600000)

A method updateMilage(double travelledDistance) that changes the current state of the car by increasing milage

That's a nice assignment. Do you have an actual question about it?

When you registered to DaniWeb, you accepted the posting rules, among which, you'll find:

Do provide evidence of having done some work yourself if posting questions from school or work assignments

Copy pasting an assignment is usually not considered as "effort"