Dynamic Method Resolution

#import <Foundation/Foundation.h>
#import "Puppy.h"
#import "Dealer.h"
#import "Drum.h"

int main(int argc, const char * argv[]){
	@autoreleasepool {

		Puppy *spot = [[Puppy alloc] init];
		Drum *drum = [[Drum alloc] init];
		Dealer *cardDealer = [[Dealer alloc] init];

		NSArray *array = @[spot, drum, cardDealer];
		NSUInteger index = arc4random_uniform(3);
		id item = [array objectAtIndex:index];
		[item play];
	}
	return 0;
}

NSMutableArray *attendance = [NSMutableArray arrayWithArray: @[@”Diego”]];
[attendance addObject:@”Rahul”]

NSArray *invited = @[@”Diego”, @”Rahul”, @”Elana”]