Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- XYZPerson *firstPerson = [[XYZPerson alloc] init];
- XYZPerson *secondPerson = [[XYZShoutingPerson alloc] init];
- [firstPerson sayHello];
- [secondPerson sayHello];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement