Top "Overloading" questions

The terms overloading and overloaded may refer to: - Constructor and method overloading, a type of polymorphism where different functions with the same name are invoked based on the data types of the parameters passed - Operator overloading, a form of functional or method overloading where the action being overloaded is an operator, such as + or -

Overloading by return type

I read few questions here on SO about this topic which seems yet confusing to me. I've just begun to …

c++ overloading
Java overloading vs overriding

Hi I just want to make sure I have these concepts right. Overloading in java means that you can have …

java overloading overwrite
Method Overloading for null argument

I have added three methods with parameters: public static void doSomething(Object obj) { System.out.println("Object called"); } public static …

java oop null overloading
Is it possible to override a non-virtual method?

Is there any way to override a non-virtual method? or something that gives similar results (other than creating a new …

c# overriding overloading
method overloading vs optional parameter in C# 4.0

which one is better? at a glance optional parameter seems better (less code, less XML documentation, etc), but why do …

c# .net c#-4.0 overloading optional-parameters
What happens if I don't pass a parameter in a Javascript function?

I am new to the world of Javascript and am tinkering with writing very basic functions and stumbled upon the …

javascript overloading
Overload constructor for Scala's Case Classes?

In Scala 2.8 is there a way to overload constructors of a case class? If yes, please put a snippet to …

scala constructor overloading scala-2.8 case-class
Optional function parameters: Use default arguments (NULL) or overload the function?

I have a function that processes a given vector, but may also create such a vector itself if it is …

c++ function parameters null overloading
Why can't I overload constructors in PHP?

I have abandoned all hope of ever being able to overload my constructors in PHP, so what I'd really like …

php oop overloading constructor
Overriding == operator. How to compare to null?

Possible Duplicate: How do I check for nulls in an ‘==’ operator overload without infinite recursion? There is probably an easy …

c# .net null overloading operator-keyword