Skip to content
Snippets Groups Projects
Commit efc85b31 authored by BENHILA Douaa's avatar BENHILA Douaa
Browse files

add pointsCount

parent a2b0f348
Branches
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ import java.util.List; ...@@ -6,7 +6,7 @@ import java.util.List;
public abstract class shape implements shape{ public abstract class shape implements shape{
private List<Point2D> points ; private List<Point2D> points ;
public addPoints(point:Point2D){ abstract public Point2D addPoints(point);
points.add(Point); abstract public int pointsCount();
}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment