Advertisements
Advertisements
प्रश्न
The statement used to find the total number of Strings present in the string array String s[] is ______.
पर्याय
s.length
s.length()
length(s)
len(s)
MCQ
रिकाम्या जागा भरा
उत्तर
The statement used to find the total number of Strings present in the string array String s[] is s.length.
Explanation:
- In Java, the property length is used to determine the total number of elements in an array.
- For a string array String s[], s.length returns the number of strings present in the array.
shaalaa.com
String Array
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?