Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Animal

Hierarchy-Diagram

UML class diagram of Animal

Legend

icon for a class in the UML class diagram class
icon for an abstract class in the UML class diagram abstract class
icon for a public property in the UML class diagram public property
icon for a protected property in the UML class diagram protected property
icon for a public method in the UML class diagram public method
italic abstract property/method

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Animal(name: string, age: number): Animal
  • Parameters

    • name: string
    • age: number

    Returns Animal

Properties

Protected age

age: number

name

name: string

Methods

Abstract speak

  • speak(): string
  • Returns string

    how animal speak

Generated using TypeDoc