subject
Engineering, 04.12.2019 04:31 Suphat

Write java la program that implements the following figure: shape -color: string = "red" -filled: boolean = true +shape() +shape(color: string, filled: boolean) +getcolor : string +setcolor (color: strine): void +isfilled(): boolean +setfilled(filled: boolean): void +tostring(): string circle -radius: double = 1.0 +circle() +circle(radius: double) +circle(radius: double, color: string, filled: boolean) getradius(): double +setradius (radius: double): void +getarea(): double +getperimeter(): double +tostring(): string rectangle -width: double = 1.0 -length: double = 1.0 +rectangle() +rectangle(width: double, length: double) +rectangle(width: double, length: double, color: string, filled: boolean) +getwidth(): double +setwidth (width: double): void +getlength : double +setlength(legnth: double): void +getarea(): double +getperimeter(: double +tostring(): string square +square) +square(side: double) +square(side: double, color: string, filled: boolean) +getside(): double +setside (side: double): void +setwidth(side: double): void +setlength(side: double): void +tostring(): string

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Carbon dioxide gas expands isotherm a turbine from 1 mpa, 500 k at 200 kpa. assuming the ideal gas model and neglecting the kinetic and potential energies, determine the change in entropy, heat transfer and work for each kilogram of co2.
Answers: 2
question
Engineering, 04.07.2019 18:10
Draw the engineering stress-strain curve for (a) bcc; (b) fcc metals and mark important points.
Answers: 1
question
Engineering, 04.07.2019 18:10
Water at the rate of 1 kg/s is forced through a tube with a 2.5 cm inner diameter. the inlet water temperature is 15°c, and the outlet water temperature is 50°c. the tube wall temperature is 14°c higher than the local water temperature all along the length of the tube. what is the length of the tube?
Answers: 3
question
Engineering, 04.07.2019 18:10
Awall of 0.5m thickness is to be constructed from a material which has average thermal conductivity of 1.4 w/mk. the wall is to be insulated with a material having an average thermal conductivity of 0.35 w/mk so that heat loss per square meter shall not exceed 1450 w. assume inner wall surface temperature of 1200°c and outer surface temperature of the insulation to be 15°c. calculate the thickness of insulation required.
Answers: 3
You know the right answer?
Write java la program that implements the following figure: shape -color: string = "red" -filled: b...
Questions
question
Physics, 10.12.2021 22:30
question
Mathematics, 10.12.2021 22:30
question
Spanish, 10.12.2021 22:30
question
Mathematics, 10.12.2021 22:30
question
Mathematics, 10.12.2021 22:30
question
Computers and Technology, 10.12.2021 22:30
Questions on the website: 13722367