✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Le code suivant permet de définir un service Angular :
export class HelloService { private mots : string [] = []; constructor() { } addMot(mot : string) { this.mots.push(mot); } getMots() : string [] { return this.mots; }}Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!