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

add constructeur

add method pointsCount()
parent 854cc094
No related branches found
No related tags found
No related merge requests found
package shape; package shape;
public class Decorator { public abstract class Decorator implements Shape {
protected Shape decoratedShape;
public Decorator(Shape decoratedShape ){
this.decoratedShape=decoratedShape;
}
public int pointsCount(){
return decoratedShape.pointsCount();
}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment