JPM
02-12-2005, 09:14 PM
Some time ago I read about default parameter values, like
public blah(int a=0, int b=2) { ... }
or atleast I thought I did, cause it wont work when I try it out.
Ive searched google, but cant find anything.
Am I doing it wrong, or is this not supported in java?
public blah(int a=0, int b=2) { ... }
or atleast I thought I did, cause it wont work when I try it out.
Ive searched google, but cant find anything.
Am I doing it wrong, or is this not supported in java?