Question from the Typescript - Overview test

Find the error in the following TypeScript code:

Easy

What is the problem in the following TypeScript code?

interface Person {
 name: string;
 age: number;
}

class Student implements Person {
 name: string;
}
Author: Vincent CotroStatus: PublishedQuestion passed 747 times
Edit
1
Community EvaluationsNo one has reviewed this question yet, be the first!