abstract class AbstractEngineer {
    protected coding(): void {}
}
class ConcreteEngineer extends AbstractEngineer {
    private name: string;
    private designation: string;
    private location: string;
    
    constructor(name: string, designation: string, location: string) {
        super();
        this.name = name; 
        this.designation = designation; 
        this.location = location; 
    }
    
    public me(): void {
      console.log(`I'm ${this.name}, a ${this.designation} who's been living in ${this.location}.`)
    }
}
const engineer = new ConcreteEngineer('Maxime Golfier', 'Software Engineer', 'Paris, France');
engineer.me();
Pinned Loading
- 
  SocialGouv/code-du-travail-numeriqueSocialGouv/code-du-travail-numerique PublicCode du Travail Numérique 
- 
  
- 
  release-notes-finderrelease-notes-finder PublicAn utility to find versions of a npm package with their release notes on Github TypeScript 6 
- 
  SocialGouv/matomo-nextSocialGouv/matomo-next PublicMatomo for Next.js applications 
- 
  typescript-swc-startertypescript-swc-starter Public templateA minimalist typescript swc starter that generate cjs and esm package 
          Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
  If the problem persists, check the GitHub status page or contact support.