Rectangle constructor Null safety
Constructor.
Implementation
Rectangle(int x, int y, int width, int height)
: x = x,
y = y,
width = width,
height = height;
Constructor.
Rectangle(int x, int y, int width, int height)
: x = x,
y = y,
width = width,
height = height;