overloading

From Wiktionary, the free dictionary
Jump to navigation Jump to search

English[edit]

English Wikipedia has an article on:
Wikipedia
Examples

Function overloading: int add(int a, int b) { return a + b; }

float add(float a, float b) { return a + b; }

Etymology[edit]

From over +‎ loading.

Pronunciation[edit]

  • (UK) IPA(key): /ˈəʊ.və(ɹ)ləʊdɪŋ/
  • (US) IPA(key): /ˈoʊ.vɚloʊ.diŋ/
  • Hyphenation: o‧ver‧loa‧ding

Noun[edit]

overloading (countable and uncountable, plural overloadings)

  1. (object-oriented programming) A type of polymorphism, where different functions, operators or variables with the same name are invoked based on the data types of the parameters passed.
    • 2013 July 9, G.B., “Re: The future of Spark . Spark 2014 : a wreckage”, in comp.lang.ada (Usenet):
      I guess we need to adapt to even more overloadings, since symbolophobia is part of Ada culture.
  2. The loading of a vehicle etc. with too heavy a weight.
    Operators can be fined for overloading of vehicles.

Hyponyms[edit]

Related terms[edit]

Translations[edit]

Verb[edit]

overloading

  1. present participle and gerund of overload