S
S
Sergey2017-10-15 15:25:51
Java
Sergey, 2017-10-15 15:25:51

How to make a replacement for a certain word?

Hello, I'm interested in such a question, how to make a word replacement in java?
There is, for example, the word apple, I need to make it so that after a person writes something in the console, for example, "I love an apple", I was replaced with a pear.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
illuzor, 2017-10-16
@t3g1ng

https://docs.oracle.com/javase/7/docs/api/java/lan...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question