Interfaces
Are special kinds of abstract classes that :
- can’t have any implementation,
- guarantee behaviour,
- must be “implemented” by the classes that uses them,
- are used instead of C++’s multiple inheritance mechanism,
- sometimes they are used to “tag” instances,
- often have an -able ending (Cloneable, Serializable etc).
class Star extends Shape implements Drawable{
public Star(int _edges) {