subject
Engineering, 19.11.2019 02:31 ferg6

1. create a class called date that includes three instance variables — a month (type int), a day (type int) and a year (type int). provide a constructor that initializes the three instance variables and assumes that the values provided are correct. provide a set and a get method for each instance variable. provide a method displaydate that displays the month, day and year separated by forward slashes (/). write a test class named datetest that demonstrates class date’s capabilities (see the examples on java slides 4.27-4.36)(10 points).

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Acompressor receives the shaft work to decrease the pressure of the fluid. a)- true b)- false
Answers: 3
question
Engineering, 04.07.2019 18:10
Asingle-geared blanking press has a stroke of 200 mm and a rated capacity of 320 kn. a cam driven ram is assumed to be capable of delivering the full press load at constant force during the last 15 percent of a constant-velocity stroke. the camshaft has an average speed of 90 rev/min and is geared to the flywheel shaft at a 6: 1 ratio. the total work done is to include an allowance of 16 percent for friction a) estimate the maximum energy fluctuation b) find the rim weight for an effective diameter of 1.2 m and a coefficient of speed fluctuation of 0.10
Answers: 1
question
Engineering, 04.07.2019 18:10
An ideal otto cycle with air as the working fluid has a compression ratio of 8. the minimum and maximum temperatures in the cycle are 300 k and 1340 k. use constant specific heats at room temperature to determine (a) the amount of heat transferred to the air during the heat- addition kj/kg, (b) the thermal efficiency, and (c) the thermal efficiency of a carnot cycle ope limits. process, in rating between the same temperature
Answers: 2
question
Engineering, 04.07.2019 18:10
Assuming compressible flow of air and that the measurements are done at flagstaff a pitot static tube that gives the difference of total and static pressure measures 0.35 m of mercury. what is the velocity of air? assume the temperature to be 300k. (submit your excel or matlab calculation sheet)
Answers: 1
You know the right answer?
1. create a class called date that includes three instance variables — a month (type int), a day (ty...
Questions
question
Mathematics, 27.04.2021 01:00
question
Mathematics, 27.04.2021 01:00
question
Mathematics, 27.04.2021 01:00
question
Health, 27.04.2021 01:00
question
Mathematics, 27.04.2021 01:00
Questions on the website: 13722359