Why do Java array declarations use curly brackets?



Curly brackets usually denote sets and ensembles while parenthesis usually in most Algol-based programming languages curly braces are used to declare arrays.


Advertisements