Search:

Type: Posts; User: John Joe

Search: Search took 0.23 seconds.

  1. Replies
    11
    Views
    1,361

    Re: Contains Method HELP PLEASEEEE

    The question looked similar to this Writing Own .contains Method For Rectangles - Java | Dream.In.Code

    Below is my answer, not sure is it correct


    public class Rectangle {
    private Point...
  2. Replies
    11
    Views
    1,361

    Re: Contains Method HELP PLEASEEEE

    what is the usage of upperLeft ?
  3. Replies
    11
    Views
    1,361

    Re: Contains Method HELP PLEASEEEE

    Where you get this from ?
  4. Replies
    11
    Views
    1,361

    Re: Contains Method HELP PLEASEEEE

    What is the usage for xheight and ywidth? Do we need a formula in order to know whether it is inside the rectangle ?
  5. Replies
    11
    Views
    1,361

    Re: Contains Method HELP PLEASEEEE

    The question is unclear.

    You're not declare p , how can you use it in these two lines ?


    r.contains(p);
    p(xheight, ywidth);
Results 1 to 5 of 8