//
//  main.m
//  Students10
//
//  David J. Malan
//  Harvard University
//  malan@harvard.edu
//
//  Declares a student with (non-init) instance method.
//

#import <Foundation/Foundation.h>
#import "Student.h"

int main(int argc, const char * argv[])
{
    @autoreleasepool {
        
        // Alice
        Student *alice = [[Student alloc] initWithName:@"Alice" andAge:20];
        [alice greet];
        
        // Bob
        Student *bob = [[Student alloc] initWithName:@"Bob" andAge:21];
        [bob greet];
        
    }
    return 0;
}

