PPT Slide
// Add b to c
public void addC(Coordinate b, Coordinate c)
{c.x= c.x+b.x;
c.y= c.y+b.y; }
Execute the call
addC(d,b);
assuming the initial state is:
Previous slide
Next slide
Back to first slide
View graphic version