class A{ void test(){ } static void test() { } } are we overloading test() here? to be more precise can we overload a function by changing the modifier?
SCJP 1.4<p>Wingardium Leviosa!!
Barkat Mardhani
Ranch Hand
Joined: Aug 05, 2002
Posts: 787
posted
0
No. This is not overloading. Overloading is when parameter types or sequence is differet.