Board index » jbuilder » Overloading methods?
2004-02-08 10:05:26 AM
i want to overload a method:
public final boolean p()
public final String p()
public final long p()
public final void p()
But the compiler tells me:
p() is already defined in ...
Now some of you might want to come back at me with: "But how can the
compiler know which method you want to call when the all have identical
Well, when the call is:
if p() then
if p() == 'JBuilder roxxors when it compiles'
String szText = p();
It begins to get pretty obvious.
So, i assume i am missing a compiler option somewhere....