JAVA
Write a method that takes the last two values of a String and adds those two values three more times on to the end of the String.

For example, repeatTwo("karel") would return "karelelelel".

public static String repeatTwo(String word){
}

Respuesta :

Answer:

Is in the provided screenshot

Explanation:

Get the last two characters and concatenate.

Ver imagen rainestormee