namespace AskTheCEO { class CEO { isBusy ( ) { return false ; } answer ( question ) { return "" ; } } class Department { } class Budget { } class Company { private ceo : CEO = new CEO ( ) ; private departments : Department [ ] = [ ] ; private budget : Budget = new Budget ( ) ; askCEO ( question ) { if ( ! this . ceo . isBusy ( ) ) { return this . ceo . answer ( question ) ; } } } }