Quantcast

Got Homework?

Connect with other students for help. It's a free community.

  • across
    MIT Grad Student
    Online now
  • laura*
    Helped 1,000 students
    Online now
  • Hero
    College Math Guru
    Online now

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

math456 Group Title

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.

  • 2 years ago
  • 2 years ago

  • This Question is Closed
  1. math456 Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    @Hero @jim_thompson5910

    • 2 years ago
  2. Hero Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    I'm pretty sure this is a Computer Science question

    • 2 years ago
  3. math456 Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    its Information technology!

    • 2 years ago
  4. Hero Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    But Java is a Computer Science related course. Information Technology is more closely related to Computer Science.

    • 2 years ago
  5. math456 Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    yea they are similar..

    • 2 years ago
  6. raes001 Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    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…

    • 2 years ago
  7. tyteen4a03 Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    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.)

    • 2 years ago
    • Attachments:

See more questions >>>

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.