Purchase Solution

Programming Concepts and Overloading Methods

Not what you're looking for?

Ask Custom Question

1. Why would you want to overload a method? 2. Identify other instances where overloading would be helpful.

Purchase this Solution

Solution Summary

The solution provides a 330+ words answer explaining why we want to overload a method. It also gives an example to show its usefulness.

Solution Preview

1. We usually like to overload some methods when they have meaningful names-basically for readability or if we want to extend one method with more variables while keeping the function's operation the same or similar. In other words, it allows creating several methods with the same name which differ from each other in the type of the input and the output of the function. It is simply defined as the ability of one function to perform different tasks. For example, performThis() and performThis ...

Purchase this Solution


Free BrainMass Quizzes
Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

C# variables and classes

This quiz contains questions about C# classes and variables.