Identify the statement below that contains a syntax error related to array declaration.

Choose the correct answer

Explanation

Options A, B, and C demonstrate valid array declarations in syntax. However, option D, 'arrayName p[5];', is incorrect because array dimensions cannot be specified in the declaration like this in languages such as Java.

Identify the statement below that contains a syntax … — Java concepts and its programming | PakQuizHub