Search:

Type: Posts; User: JlovesJava

Search: Search took 0.07 seconds.

  1. Replies
    6
    Views
    1,092

    Re: getPerimeter of a rectangle

    I got ' r can't be resolved error'; how should I construct Rectangle r?
  2. Replies
    6
    Views
    1,092

    Re: getPerimeter of a rectangle

    x and y are the co-ordinates of upper left corner and height and width are given as above. It suppose to return perimeter of the rectangle. I could n't find where to start? I know the formula to get...
  3. Replies
    6
    Views
    1,092

    getPerimeter of a rectangle

    public class Rectangle {



    public static void main(String[] args) {


    }

    public Rectangle(int x, int y, int height, int width)
Results 1 to 3 of 3