हिंदी

Write down the syntax to perform the following task: To return the first occurrence of 'a' in the word "applications". - Computer Applications

Advertisements
Advertisements

प्रश्न

Write down the syntax to perform the following task:

To return the first occurrence of 'a' in the word "applications".

एक पंक्ति में उत्तर

उत्तर

int n = "applications".indexOf('a');
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 4: String Handling - EXERCISES [पृष्ठ २८७]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
अध्याय 4 String Handling
EXERCISES | Q III. 4. | पृष्ठ २८७
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×