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 914 times
Edit
2
Community EvaluationsNo one has reviewed this question yet, be the first!