Start learning →

Which elements make up the main diagonal of a square matrix?

AEntries where i < j
BEntries where i > j
CEntries where i != j
DEntries where i == j
Answer & Solution
Correct answer: D. Entries where i == j
Main diagonal elements are the entries aii having matching row and column indices.
Practise this question with Quill — ICSE Class 10 →

Keep practising Arrays in Java (Single and Double Dimensional)

Browse all Arrays in Java (Single and Double Dimensional) questions for ICSE Class 10, or explore more Computer Applications topics.

Start a Arrays in Java (Single and Double Dimensional) lesson →