An array of animals
An array of SJointedModel contains, yeti, tortoise and stuffedTiger
Text of videoDownload the Alice project: array-objects.a3p
public void myFirstMethod() {
SJointedModel[] animals = new SJointedModel[] {
this.yeti, this.tortoise, this.stuffedTiger
}
;
eachInTogether( ( SJointedModel actor )-> {
actor.say( "hello" );
}, animals );
}