Why do Java array declarations use curly brackets?

Java 8Object Oriented ProgrammingProgramming

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

raja
Updated on 30-Jul-2019 22:30:20

Advertisements