It works Thanks a lot <3 <3 <3
Type: Posts; User: Mounir
It works Thanks a lot <3 <3 <3
Upper left is the upper left corner point. But seriously I don't know why we use it for
So do you think you can help me with because I'm blocked since this morning...
I got it by the teacher
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 =...
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...
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...
Yes it work ! I've seen were was my mistake ! Thanks a lot
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...
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; //...