Search:

Type: Posts; User: Mounir

Search: Search took 0.12 seconds.

  1. Replies
    11
    Views
    1,355

    Re: Contains Method HELP PLEASEEEE

    It works Thanks a lot <3 <3 <3
  2. Replies
    11
    Views
    1,355

    Re: Contains Method HELP PLEASEEEE

    Upper left is the upper left corner point. But seriously I don't know why we use it for
  3. Replies
    11
    Views
    1,355

    Re: Contains Method HELP PLEASEEEE

    So do you think you can help me with because I'm blocked since this morning...
  4. Replies
    11
    Views
    1,355

    Re: Contains Method HELP PLEASEEEE

    I got it by the teacher
  5. Replies
    11
    Views
    1,355

    Re: Contains Method HELP PLEASEEEE

    For me xheight and ywidth is the coordinate of the point. I think it is wrong. For this i am sure :

    public boolean contains(Point p) {

    boolean answer;
    double x_ul =...
  6. Replies
    11
    Views
    1,355

    Re: Contains Method HELP PLEASEEEE

    These two llines are for the point coordinate... is it wrong ? Can you show me the correct code for this question ?

    We need to ask the user to enter the rectangle height and width and to ask him...
  7. Replies
    11
    Views
    1,355

    Contains Method HELP PLEASEEEE

    Hi again

    Ive made the IsSqare method but now he asks us to do the Contsains method.

    Rectangle class
    Suppose we have a Rectangle class that begins:
    class Rectangle {

    private Point...
  8. Thread: IsSquare Method

    by Mounir
    Replies
    5
    Views
    2,925

    Re: IsSquare Method

    Yes it work ! I've seen were was my mistake ! Thanks a lot
  9. Thread: IsSquare Method

    by Mounir
    Replies
    5
    Views
    2,925

    Re: IsSquare Method

    Hi

    Thanks for youre help.

    The thing is that if it was me, i wouldnt add the first class, but as said on the subject we wave to use the rectangle class otherwise it will be wrong.

    2. how do...
  10. Thread: IsSquare Method

    by Mounir
    Replies
    5
    Views
    2,925

    IsSquare Method

    HI

    I have this question :

    Suppose we have a Rectangle class that begins:

    class Rectangle {

    private Point upperLeft; // the upper left corner point
    private double height; //...
Results 1 to 10 of 10