JAVA
Write a method that takes 2 parameters: a String[] array, and an int numRepeats represent...
![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 18.04.2020 23:32 dootdootkazoot
JAVA
Write a method that takes 2 parameters: a String[] array, and an int numRepeats representing the number of times to repeat each element in the array.
Return a new array with each element repeated numRepeats times.
For example:
repeatElements(new String[]{"hello", "world"}, 3)
Should return a new array with the elements:
["hello", "hello", "hello", "world", "world", "world"]
public String[] repeatElements(String[] array, int numRepeats){
}
![ansver](/tpl/images/cats/User.png)
Answers: 1
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 15:30
Melissa needs to add a topic to an email that she will send to her teacher. choose the name of the field where she should type her topic.
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 04:31
Type the correct answer in the box. spell all words correctly. the managing director of a company sends a christmas greeting to all his employees through the company email. which type of network does he use? he uses an
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 07:30
What key should you press and hold to select and open multiple files at one time? enter alt control esc
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 09:00
Which best compares appointments and events in outlook 2010appointments have a subject man, and events do notappointments have a specific date or range of dates, and events do notappointments have a start and end time of day, and events do notappointments have a location option, and events do not
Answers: 2
You know the right answer?
Questions
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 03.09.2020 20:01
![question](/tpl/images/cats/biologiya.png)
Biology, 03.09.2020 20:01
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/en.png)
English, 03.09.2020 20:01
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 03.09.2020 20:01
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 03.09.2020 20:01
![question](/tpl/images/cats/biologiya.png)
Biology, 03.09.2020 20:01
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/geografiya.png)
Geography, 03.09.2020 20:01
![question](/tpl/images/cats/himiya.png)
Chemistry, 03.09.2020 20:01
![question](/tpl/images/cats/mat.png)
Mathematics, 03.09.2020 20:01
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/es.png)
Spanish, 03.09.2020 20:01
![question](/tpl/images/cats/biologiya.png)
Biology, 03.09.2020 20:01
![question](/tpl/images/cats/es.png)
Spanish, 03.09.2020 20:01
![question](/tpl/images/cats/biologiya.png)
Biology, 03.09.2020 20:01