﻿import { Person } from './Person.js';

// Inherit from Person class
export class Student extends Person
{
    // Attributes
    private _course: string;

    // Constructor
    constructor(name: string, course: string)
    {
        super(name);    // Pass name to parent class constructor
        this._course = course;
    }

    // Properties
    get Course(): string
    {
        return this._course;
    }

    // Methods
}