MyPackage

IAnimal

An interface for the behaviors and properties of animals.

Tags
license

MIT

Table of Contents

Methods

getAge()  : float
age of dog in years
getName()  : string
name of the animal, like 'Fluffy'
getSound()  : string
the sound that the animal makes
getType()  : string
type of the animal, like cat, alligator, tiger

Methods

getAge()

age of dog in years

public getAge() : float
Return values
float

getName()

name of the animal, like 'Fluffy'

public getName() : string
Return values
string

getSound()

the sound that the animal makes

public getSound() : string
Return values
string

getType()

type of the animal, like cat, alligator, tiger

public getType() : string
Return values
string

        
On this page

Search results