replace abstract method

void replace(
  1. Shape other
)

Implementation

void replace(Shape other);