Computer Applications

Write down the syntax to return the first occurrence of 'a' in the word "applications".

Java String Handling

60 Likes

Answer


int res = "applications".indexOf('a');

Answered By

38 Likes


Related Questions