class Octopus { readonly numberOfLegs: number = 8; constructor(readonly name: string) { } }