Posts by Eduardo Gonçalves • 1 point
1 post
-
-1
votes1
answer136
viewsQ: How to make a program in java that tells you which positions are ahead and behind a word
This method tells how many words you have in a sentence: public static int pesquisaPalavra(String palavra) { String frase = "Deus é bom o tempo todo, o tempo todo Deus é bom"; String[] arrayString =…