subject
Engineering, 18.10.2019 19:00 han68

Design a class named person with fields for holding a person's name, address, and telephone number. write one or more constructors and the appropriate mutator and accessor methods for the class's fields.

next, design a class named customer, which extends the person class. the customer class should have a field for a customer number and a boolean field indicating whether the customer wishes to be on a mailing list. write one or more constructors and the appropriate mutator and accessor methods for the class's fields. demonstrate an object of the customer class in a simple program.

(instructor request) for the demo, write a main that creates 3 customers and prints out their information. make up some names, addresses, phone numbers, etc. so no user input is required.

ansver
Answers: 2

Another question on Engineering

question
Engineering, 03.07.2019 14:10
If the thermal strain developed in polyimide film during deposition is given as 0.0044. assume room temperature is kept at 17.3 c, and thermal coefficient of expansion for the film and the substrate are 54 x 10^-6c^-1 and 3.3 x 10^-6c^-1respectively. calculate the deposition temperature.
Answers: 3
question
Engineering, 03.07.2019 23:20
Two technicians are discussing the intake air temperature (iat) sensor. technician a says that the computer uses the iat sensor as a backup to the engine coolant temperature (ect) sensor. technician b says that the powertrain control module (pcm) will subtract the calculated amount of fuel if the air measures hot. who is correct
Answers: 3
question
Engineering, 04.07.2019 18:10
Determine whether or not it is possible to compress air adiabatically from k to 140 kpa and 400 k. what is the entropy change during this process?
Answers: 3
question
Engineering, 04.07.2019 18:10
At 12 noon, the count in a bacteria culture was 400; at 4: 00 pm the count was 1200 let p(t) denote the bacteria cou population growth law. find: (a) an expression for the bacteria count at any time t (b) the bacteria count at 10 am. (c) the time required for the bacteria count to reach 1800.
Answers: 1
You know the right answer?
Design a class named person with fields for holding a person's name, address, and telephone number....
Questions
question
Mathematics, 29.08.2019 04:30
question
Social Studies, 29.08.2019 04:30
Questions on the website: 13722361