all answers will be appreciated. 😊
may anyone explain this task to me. I'm confused please.
Resolved
Comments (2)
- Popular
- New
- Old
You must be signed in to leave a comment
Thomas
22 May 2020, 14:27
after "//write your code here" I'd start with declaring four ints (left, top, width, and height) and after that writing the code for four initialize methods. Some examples are already given..
initialize(left, top, width, height)
initialize(left, top)
initialize(Rectangle rectangle)
or whatever you can think of to create a rectangle
0
carolina
24 June 2020, 00:27
and don't forget to create a copy of another rectangle passed as an argument! this class may help: https://codegym.cc/quests/lectures/questsyntax.level05.lecture06
0