1.

How the objects of array can be denoted?(a) Indices(b) Name(c) Random numbers(d) AlphabetsThe question was asked in an online interview.I'd like to ask this question from Object Array topic in chapter Object of Object Oriented Programming

Answer»

The correct OPTION is (a) Indices

To explain I would say: Different objects in an array can be DENOTED with the indices of array. The first object is denoted by 0. And the further indices DENOTE the NEXT objects in sequence of array.



Discussion

No Comment Found

Related InterviewSolutions