Overloading - Research Article from World of Computer Science

This encyclopedia article consists of approximately 3 pages of information about Overloading.

Overloading - Research Article from World of Computer Science

This encyclopedia article consists of approximately 3 pages of information about Overloading.
This section contains 676 words
(approx. 3 pages at 300 words per page)
Buy the Overloading Encyclopedia Article

Overloading in computer programming is a form of polymorphism, which means "can take many forms." What overloading means in practice is that the compiler of a language that supports it can distinguish between two or more different functions or operators that are represented by the same name or symbol.

In computer programming, a function is a self-contained sequence of code statements that perform a set of actions and return a value of a known type, and an operator is a symbol that represents a specific action. For example, a function called timeEgg() might contain code that times the boiling of an egg, and the "+" symbol is an operator that represents addition. Most programming languages also support other operators that allow the code to manipulate numbers and character strings in more complicated ways.

Every function in the same program must have a unique signature so the compiler can tell...

(read more)

This section contains 676 words
(approx. 3 pages at 300 words per page)
Buy the Overloading Encyclopedia Article
Copyrights
Gale
Overloading from Gale. ©2005-2006 Thomson Gale, a part of the Thomson Corporation. All rights reserved.