anonymous
  • anonymous
I need help, plz! Design and implement in Java, a class Rectangular tht supports two methods: 1). Area(double x, double y) tht returns the area of a rectangular of width x and length y. 2). perimeter(double x, double y) tht returns the perimeter length of a rectangle of width x & length y.
Mathematics
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
katieb
  • katieb
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
anonymous
  • anonymous
@Hero @jim_thompson5910
Hero
  • Hero
I'm pretty sure this is a Computer Science question
anonymous
  • anonymous
its Information technology!

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

Hero
  • Hero
But Java is a Computer Science related course. Information Technology is more closely related to Computer Science.
anonymous
  • anonymous
yea they are similar..
anonymous
  • anonymous
math456: I need help, plz! Design and implement in Java, a class Rectangular tht supports two methods: 1). Area(double x, double y) tht returns the a…
tyteen4a03
  • tyteen4a03
I'm going to answer anyway... *sigh* I don't do Java, so if there's any mistakes in my code please auto-correct them. Also note that this is not a CS section - this would fit better in the CS Category. class Rectangular { public static area(double x, double y) { return x*y; } public static perimeter (double x, double y) { return (2*x + 2*y); } } (the static keyword can be omitted but keeping the static method prevents creating this method for every instance of the object that uses this class.)

Looking for something else?

Not the answer you are looking for? Search for more explanations.