Java Reference

Java Reference Home | Smart Soft Home

Comma ,
The comma has two uses in Java. To separate method arguments:
f1.setSize(300,300);
And to allow multiple variables be declared on the same line:
int x,y,z;