I wanted to check if this a deep copy constructor I have created.
private int redPixel;
private int greenPixel;
private int bluePixel;
public Pixel(Pixel other)
{
this.redPixel = other.redPixel;
this.greenPixel = other.greenPixel;
this.bluePixel = other.bluePixel;
}