5.2. Using Methods
If you’re familiar with a language like C, C++, Java, or PHP, you’re
probably used to seeing methods or functions called like this:
displayNames();
displayNamesWithPrefix( prefix );
addressBook.displayNames();
addressBook.displayNamesWithPrefix( prefix );
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.
Start a Free Trial