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.

Updated on: 2019-07-30T22:30:20+05:30

698 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements