D
Size: a a a
D
AE
D
M
NG
export class God {
static create() {
return [new Man('Adam'), new Woman('Eve')];
}
}
export class Human {
readonly name: string;
readonly sex: string;
constructor(name : string, sex : string) {
if (this.constructor === Human) {
throw new TypeError("Abstract class Human cannot be instantiated");
}
this.name = name;
this.sex = sex;
}
}
export class Man extends Human {
constructor(name : string) {
super(name, 'male');
}
}
export class Woman extends Human {
constructor(name : string) {
super(name, 'female');
}
}
J💖
export class God {
static create() {
return [new Man('Adam'), new Woman('Eve')];
}
}
export class Human {
readonly name: string;
readonly sex: string;
constructor(name : string, sex : string) {
if (this.constructor === Human) {
throw new TypeError("Abstract class Human cannot be instantiated");
}
this.name = name;
this.sex = sex;
}
}
export class Man extends Human {
constructor(name : string) {
super(name, 'male');
}
}
export class Woman extends Human {
constructor(name : string) {
super(name, 'female');
}
}
NT
NT
export class God {
static create() {
return [new Man('Adam'), new Woman('Eve')];
}
}
export class Human {
readonly name: string;
readonly sex: string;
constructor(name : string, sex : string) {
if (this.constructor === Human) {
throw new TypeError("Abstract class Human cannot be instantiated");
}
this.name = name;
this.sex = sex;
}
}
export class Man extends Human {
constructor(name : string) {
super(name, 'male');
}
}
export class Woman extends Human {
constructor(name : string) {
super(name, 'female');
}
}
R
export class God {
static create() {
return [new Man('Adam'), new Woman('Eve')];
}
}
export class Human {
readonly name: string;
readonly sex: string;
constructor(name : string, sex : string) {
if (this.constructor === Human) {
throw new TypeError("Abstract class Human cannot be instantiated");
}
this.name = name;
this.sex = sex;
}
}
export class Man extends Human {
constructor(name : string) {
super(name, 'male');
}
}
export class Woman extends Human {
constructor(name : string) {
super(name, 'female');
}
}
NT
MI
export class God {
static create() {
return [new Man('Adam'), new Woman('Eve')];
}
}
export class Human {
readonly name: string;
readonly sex: string;
constructor(name : string, sex : string) {
if (this.constructor === Human) {
throw new TypeError("Abstract class Human cannot be instantiated");
}
this.name = name;
this.sex = sex;
}
}
export class Man extends Human {
constructor(name : string) {
super(name, 'male');
}
}
export class Woman extends Human {
constructor(name : string) {
super(name, 'female');
}
}
NT
MI
AH
export class God {
static create() {
return [new Man('Adam'), new Woman('Eve')];
}
}
export class Human {
readonly name: string;
readonly sex: string;
constructor(name : string, sex : string) {
if (this.constructor === Human) {
throw new TypeError("Abstract class Human cannot be instantiated");
}
this.name = name;
this.sex = sex;
}
}
export class Man extends Human {
constructor(name : string) {
super(name, 'male');
}
}
export class Woman extends Human {
constructor(name : string) {
super(name, 'female');
}
}
export abstract class
АК
МВ
[data]="data.test[i]control"
Как можно?ИГ
В
ИГ
SR