About 52 results
Open links in new tab
  1. Function overloading in Javascript - Best practices

    Jan 19, 2009 · What is the best way(s) to fake function overloading in Javascript? I know it is not possible to overload functions in Javascript as in other languages. If I needed a function with two …

  2. What is the difference between method overloading and overriding ...

    Sep 11, 2012 · Method overloading is defining several methods in the same class, that accept different numbers and types of parameters. In this case, the actual method called is decided at compile-time, …

  3. Polymorphism vs Overriding vs Overloading - Stack Overflow

    Oct 1, 2008 · 5 overloading is when you define 2 methods with the same name but different parameters overriding is where you change the behavior of the base class via a function with the same name in a …

  4. What is overloading in Java? - Stack Overflow

    Oct 29, 2012 · Overloading means that the same method name can be defined with more than one signature — the list of formal parameters (and their types). Overloading means different things in …

  5. What are the basic rules and idioms for operator overloading?

    Dec 12, 2010 · The latter is done by writing constructors and destructors for a class. Fine-tuning memory management is done by writing your own operator new and operator delete. The first of the basic …

  6. oop - What is method overloading? - Stack Overflow

    Mar 28, 2013 · I've found resources that say method overloading is the ability for a language to use the same method with a different outcome, depending on context. Somehow, when I read other …

  7. Quais são as diferenças entre overrideing e overloading no Java?

    Mar 14, 2017 · Quais são as principais diferenças entre overrideing e overloading no Java? Qual relação existe entre esses termos com o Polimorfismo?

  8. How to achieve function overloading in C? - Stack Overflow

    2 An object-oriented way to emulate function overloading in C that doesn't rely on using preprocessor macros consists of creating a struct for each parameter list that you want your function to accept, and …

  9. overloading - How to overload functions in javascript? - Stack Overflow

    Is there a better workaround for function overloading in javascript other than passing an object with the overloads in it? Passing in overloads can quickly cause a function to become too verbose because …

  10. oop - Java overloading and overriding - Stack Overflow

    Oct 3, 2010 · Overloading is used when you want to extend class functionality. Overloading is is a compile time polymorphism. Overriding (same function with the same signature): Two or more …