Add an optional parameter to the ShowHeroes method. Default it to 0. In the method, if the
Fantastic news! We've Found the answer you've been seeking!
Question:
Add an optional parameter to the ShowHeroes method. Default it to 0. In the method, if the parameter has the default value, show all the heroes else show the number of heroes that match the parameter. For example, if 10 is passed in, only shows the first 10 heroes.
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date: