overloading

English

Examples

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

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

Etymology

From over + loading.

Pronunciation

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

Noun

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

Translations

Verb

overloading

  1. present participle and gerund of overload
This article is issued from Wiktionary. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.