Advertisements
Advertisements
प्रश्न
Which of the following function finds the size of array char m[] = {'R','A','J','E','N','D','R','A'};?
पर्याय
m.size of (a)
m.elements of (m)
m.length
None
MCQ
उत्तर
m.length
Explanation:
In Java, you may discover the size or length of an array by calling arrayName.length. So, in this case, m.length returns the size of the array m[], which has eight members.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?