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, 03.07.2019 14:10
Line joining liquid phase with liquid and solid phase mixture is known as: a) liquidus b) solidus c) tie line d) none of the mentioned
Answers: 2
question
Engineering, 04.07.2019 18:10
During a steady flow process, the change of energy with respect to time is zero. a)- true b)- false
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
question
Engineering, 04.07.2019 18:10
Ifa component is made of two or more materials with different modulus of elasticity (e), it is called a composite member and we calculate the factor·n". mention the formula for calculating n". also, ifn> 1, explain what will happen to the 1. transformed.gi) ifn 1, what will happen to the material when transformed material when
Answers: 1
You know the right answer?
Write java la program that implements the following figure: shape -color: string = "red" -filled: b...
Questions
question
Arts, 10.02.2022 14:00
question
English, 10.02.2022 14:00
question
Mathematics, 10.02.2022 14:00
question
Mathematics, 10.02.2022 14:00