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
Abrake has a normal braking torque of 2.8 kip in and heat-dissipating cast-iron surfaces whose mass is 40 lbm. suppose a load is brought to rest in 8.0 s from an initial angular speed of 1600 rev/min using the normal braking torque; estimate the temperature rise of the heat dissipating surfaces.
Answers: 3
question
Engineering, 04.07.2019 18:10
Thermal stresses are developed in a metal when its a) initial temperature is changed b) final temperature is changed c) density is changed d) thermal deformation is prevented e) expansion is prevented f) contraction is prevented
Answers: 2
question
Engineering, 04.07.2019 18:10
Which of the following components of a pid controlled accumulates the error over time and responds to system error after the error has been accumulated? a)- proportional b)- derivative c)- integral d)- on/off.
Answers: 2
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
Mathematics, 25.09.2021 16:30
question
Mathematics, 25.09.2021 16:30
question
Mathematics, 25.09.2021 16:30
Questions on the website: 13722361