irahndenson6062 irahndenson6062
  • 24-01-2022
  • Computers and Technology
contestada

How do I repeat a word in Java for example:

Are you okay?

Yes

Are you really okay?

Yes

Are you really really okay?

Yes

Here I want to repeat the word really in every sentence.

Respuesta :

jas911625
jas911625 jas911625
  • 24-01-2022

Answer: repeated = new String(new char[n]). replace("\0", s); Where n is the number of times you want to repeat the string and s is the string to repeat.

Explanation:

Answer Link

Otras preguntas

David has two yellow powders, Powder 1 and Powder 2. He collected data on some properties of these powders. His data are summarized in the table below. Which pr
1- Draw a table showing the conditions of the experiment.​
BRAINLIEST While savannas and temperate grasslands are both types of grasslands and share many characteristics, they also have some differences. Compare them be
Which of the following would be considered a credit and be displayed as such on your checking account statement? A. Check written to you for babysitting service
What is the name of an angle that measures 91°?
What is something that people worry to much? why do you think they are overly concerned about that thing?
Which type of reaction does this diagram represent? A small ball heads toward a large circle labeled superscript 235 upper U. An arrow points to an irregular ci
Un trapezio rettangolo all’altezza di 20 cm la base minore lunga come l’altezza l’angolo adiacente alla base maggiore di 30°. disegna un modello del trapezio e
9.- Un pastor colocó ovejas en corrales. En un corral colocó 7 ovejas, en el segundo y en el tercer corral colocó múltiplos de 7. Si en total colocó 63 ovejas,
HELP ME WITH AREAA PLSSS