import { Person } from "../Person";
export class ConnorBeach extends Person {
public name: string;
public age: number;
public county: string;
public hobbies: string[];
public constructor() {
this.name = "Connor Beach";
this.age = 25;
this.county = "Herefordshire, UK";
this.hobbies = ["Programming", "Gaming"];
this.introduce();
}
private introduce() {
return console.log(`Hello, my name is ${this.name}, I am ${this.age} years old and live in ${this.county}. My hobbies are ${this.hobbies.join(", ")}!`);
}
}
🖥️
Programming
- United Kingdom
-
06:54
(UTC +01:00)
Highlights
- Pro
Popular repositories Loading
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.


