aspose file tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes overloading Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "overloading" Watch "overloading" New topic
Author

overloading

Don Bosco
Ranch Hand

Joined: Oct 31, 2002
Posts: 108
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
No. This is not overloading. Overloading is when parameter types or sequence is differet.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: overloading
 
Similar Threads
Overriding,Overloading methods
overloading
Interfaces
Polymorphism and Instance Variables?
polymorphism with var args