In the preceding task, you created Class1, complete with a print method. In the task here, you’ll extend Class1 using categories to include a new method, print2.
The print2 method looks like this:
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.