View Single Post
  #1 (permalink)  
Old 07-31-2007, 09:36 PM
coco coco is offline
Member
 
Join Date: Jul 2007
Posts: 39
coco is on a distinguished road
Help with parameters values in java
Hi, Some time ago I read about default parameter values, like
Code:
public blah(int a=0, int b=2) { ... }
or at least 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?
Thanks.
Reply With Quote
Sponsored Links