¡@

Home 

java Programming Glossary: moneycalc

How is an overloaded method choosen when a parameter is the literal null value?

http://stackoverflow.com/questions/13033037/how-is-an-overloaded-method-choosen-when-a-parameter-is-the-literal-null-value

value I came across this question in a quiz public class MoneyCalc public void method Object o System.out.println Object Verion.. String Version public static void main String args MoneyCalc question new MoneyCalc question.method null The output of this.. public static void main String args MoneyCalc question new MoneyCalc question.method null The output of this program is String Version..