1.

From which index does the array of objects start?(a) 0(b) 1(c) 2(d) 3This question was addressed to me during an online exam.Query is from Object Array topic in division Object of Object Oriented Programming

Answer»

Right choice is (a) 0

For EXPLANATION: The index must START from 0. The index ends at SIZE – 1 index. This is because the index is ALWAYS TILL n-1 where n is the total number of beads.



Discussion

No Comment Found

Related InterviewSolutions