Implement class inheritance in TypeScript with proper method overriding and access modifiers for maintainable object hierarchies.