Access over 35 million academic & study documents

Automobile

Content type
User Generated
Subject
Programming
Type
Homework
Rating
Showing Page:
1/1
Automobile
-idNumber: int
-make: string
-model: string
-color: string
+setidNumber(id : int) : void
+setMake(make:string) : void
+setModel(model:string) : void
+setColor(color:string) : void
+displayValues() : void
Pseudocode:
Class Automobile
Declaration
private int idNumber
private string make, model, color
public void setidNumber(int idNumber)
this.idNumber = idNumber
public void setMake(string make)
this.make = make
public void setModel (string model)
this.model = model
public void setColor(string color)
this.color= color
public void displayValues()
output “Id number: ”, idNumber
output Make: ”, make
output Model: ”, model
output Color: , color

Sign up to view the full document!

lock_open Sign Up
Unformatted Attachment Preview
Automobile -idNumber: int -make: string -model: string -color: string +setidNumber(id : int) : void +setMake(make:string) : void +setModel(model:string) : void +setColor(color:string) : void +displayValues() : void Pseudocode: Class Automobile Declaration private int idNumber private string make, mo ...
Purchase document to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Anonymous
Super useful! Studypool never disappoints.

Studypool
4.7
Indeed
4.5
Sitejabber
4.4