namespace InheritanceAndComposition { class Shape { id : string ; constructor ( id ) { this . id = id ; } } class Point { x : number ; y : number ; constructor ( x , y ) { this . x = x ; this . y = y ; } } class Circle extends Shape { center : Point ; radius : number ; constructor ( id , center , radius ) { super ( id ) ; this . center = center ; this . radius = radius ; } } }