1: create the object Car String regNo int mileage int fuel String getRegNo() void setRegNo(num) int getMileage() void setMileage(miles) int getFuel() void setFuel(litres) void makeJourney(miles,litres) void refuel(litres) Car() constructor Constructor method: Car()

Related searches for 1: create the object

Download Presentation
## PowerPoint Slideshow about '1: create the object' - Gabriel

**An Image/Link below is provided (as is) to download presentation**

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -