subject
Computers and Technology, 21.11.2019 00:31 cld3331

Create a base class called vehicle that has the manufacturer's name ( type string ), number of cylinders in the engine (type int), and ower (type person given below). then create a class called truck that is derived from vehicle and has additional properties: the load capacity in tons (type double, since it may contain a frational part) and towing capacity in tons (type double) . give your classes a reasonable complement of contructors and accessor methods, and an equals method as well. write a driver program that tests all your methods. person classpublic class person{string name; public person( ){name = "no name yet"; }public person(string initialname){name = initialname; }public void setname(string newname){name = newname; }public string getname( ){return name; }public void writeoutput( ){system. out. println("name: " + name); }public boolean hassamename(person otherperson){return this. name. equalsignorecase(otherperson. name); }}

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 09:00
Which best compares appointments and events in outlook 2010appointments have a subject man, and events do notappointments have a specific date or range of dates, and events do notappointments have a start and end time of day, and events do notappointments have a location option, and events do not
Answers: 2
question
Computers and Technology, 23.06.2019 22:00
Jackson, who works in the finance department of a company, is holding a seminar for other employees on how to file taxes. only three employees sign up to attend the seminar. which device can he use to share his presentation with a group of three employees?
Answers: 1
question
Computers and Technology, 24.06.2019 05:30
Why is hard disk space important to an audio engineer? why are usb ports and firewire ports useful for an audio engineer? explain in 2-3 sentences. (3.0 points) here's a list of different audio software: ableton live apple inc.'s garageband apple inc.'s logic studio digidesign's pro tools propellerhead sofware's reason sony creative software's acid pro steinberg cubase steinberg nuendo choose one of the software programs listed above, and then go to that software program's web site. read about what the software program is used for, and then write 4-5 sentences about what you learned. (10.0 points) which type of software license is the most limiting? why? explain in 2-3 sentences. (3.0 points) when sending a midi channel voice message, how can you control the volume of the sound? explain in 2-3 sentences. (4.0 points)
Answers: 1
question
Computers and Technology, 24.06.2019 06:30
Ineed to know the anwser to all these questions
Answers: 2
You know the right answer?
Create a base class called vehicle that has the manufacturer's name ( type string ), number of cylin...
Questions
question
Mathematics, 06.01.2022 14:00
question
Mathematics, 06.01.2022 14:00
question
Mathematics, 06.01.2022 14:00
question
Biology, 06.01.2022 14:00
question
Mathematics, 06.01.2022 14:00
Questions on the website: 13722363