JAVA
In this exercise, you are given a string and a word. You should return the index lo...
![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 18.04.2020 01:45 samc7910
JAVA
In this exercise, you are given a string and a word. You should return the index location of the SECOND instance of that word. If the word doesn’t exist twice, return -1.
Example:
findSecond("A very, very good day", "very") --> 8
findSecond("A very good day", "very") --> -1
![ansver](/tpl/images/cats/User.png)
Answers: 2
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 12:30
An atom's diameter is about 0.1 nanometer (1×10-9m), and a human hair is about 1×10-3m. how many times greater is a human hair than an atom's diameter? sorry pushed wronf button but this is math
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 22:30
What is the most popular genre of video games?
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 03:50
Iam a bacterium. i cause stomach cramps and diarrhea. i am caused by eating rotten foodssuch as chicken, fish, or eggs. sometimes turtles carry my bacteria.what am i?
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 12:50
Which syntax error in programming is unlikely to be highlighted by a compiler or an interpreter? a variable name misspelling a missing space a comma in place of a period a missing closing quotation mark
Answers: 1
You know the right answer?
Questions
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/geografiya.png)
![question](/tpl/images/cats/geografiya.png)
Geography, 30.07.2019 08:50
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/health.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/geografiya.png)
![question](/tpl/images/cats/geografiya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 30.07.2019 08:50
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 30.07.2019 08:50
![question](/tpl/images/cats/istoriya.png)
History, 30.07.2019 08:50
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)