008 - String Methods - indexOf
![008 - String Methods - indexOf](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FnKise%2Fbtqz26LWQL0%2Frxqvc5RtvlpYuGVoxiDH71%2Fimg.png)
008 - String Methods - indexOf
For you to do: (the output should be one per line) Print out the position of the first occurrence of "c" Print out the position of the first occurrence of " " Print out the position of the first occurrence of the variable target1 Print out the position of the first occurrence of the variable target2 class Main { public static void main(String[] args) { String str = "abracadabra alakazam"; String..