Hi guys, I was wondering about method overloading. What all are it's advangages? Does it save memory? if it is then how? or it's just abt reducing complexity & better readability?
e.g. Is there any advantage of using class A over class B. ( See below) class A{ void method(){ // do something } void method(int a){ // do something } } & class B{ void methodNoArg(){ // do something } void methodInt(int a){ // do something } } Thanks -- You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en