// I kind of pass the task, but I have completely no idea what I have done // Did I miss any element from the task? /* if I type: public Rectangle(int left, int width){ // case A this.left = left; this.width = width; } does it presents to the system the same as: public Rectangle(int left, int top){ // case B this.left = left; this.top = top; } since when I key in said Rectangle(2, 2), basically system could only entertain either case A or case B */ // so ultimately, I just need to make 4 constructors with Rectangle(int i), Rectangle (int i, int ii), Rectangle (int i, int ii, int iii), & finally Rectangle (int i, int ii, int iii, int iv)? // or the task wants to teach us something else? // the passed code is also pasted for reference as below: package com.codegym.task.task05.task0520; /* Create a Rectangle class */ public class Rectangle { //write your code here int top; int left; int width; int height; public static void main(String[] args) { } public Rectangle(int left, int width){ this.left = left; this.width = width; } public Rectangle(int left){ this.left = left; } public Rectangle(int left, int width, int height){ this.left = left; this.width = width; this.height = height; } public Rectangle(int left, int width, int height, int top){ this.left = left; this.width = width; this.height = height; this.top = top; } }