![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 05.03.2021 20:00 Kekkdkskdkdk
Consider the following method intended to modify the parameter names by removing all instances of the String n.
public static void removeNames (ArrayList names, String n) { for (/* Missing Code */) { if (names. get(i).equals(n)) { names. remove(i); } } }
Which of the following could correctly replace /* Missing Code */ so that removeNames works as intended?
a. int i = 0; i < names. size(); i--
b. int i = names. size() - 1; i >= 9; i++
c. int i = 0; i < names. size(); i++
d. int i = names. size() - 1; i >=0; i--
e. none of the above.
f. The code has an error.
![ansver](/tpl/images/cats/User.png)
Answers: 2
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 12:00
The following function returns a string of length n whose characters are all 'x'. give the order of growth (as a function of n) of the running time. recall that concatenating two strings in java takes time proportional to the sum of their lengths. public static string f(int n) { if (n == 0) return ""; if (n == 1) return "x"; return f(n/2) + f(n - n/2); } options: a) constant b) logarithmic c) linear d) linearithmic e)quadratic f)cubic g) exponential
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 04:31
Q13 what function does a security certificate perform? a. creates user accounts b. scrambles data c. identifies users d. creates password policies e. provides file access
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 00:30
Asecurity policy is a a. set of guidlines b. set of transmission protocols c. written document d. set of rules based on standards and guidelines
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 00:40
To maintain clarity and focus lighting might be needed
Answers: 2
You know the right answer?
Consider the following method intended to modify the parameter names by removing all instances of th...
Questions
![question](/tpl/images/cats/mkx.png)
Arts, 23.08.2019 19:50
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 23.08.2019 19:50
![question](/tpl/images/cats/biologiya.png)
Biology, 23.08.2019 19:50
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/en.png)
English, 23.08.2019 19:50
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/fizika.png)
Physics, 23.08.2019 19:50
![question](/tpl/images/cats/istoriya.png)
History, 23.08.2019 19:50
![question](/tpl/images/cats/mat.png)
Mathematics, 23.08.2019 19:50
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 23.08.2019 19:50
![question](/tpl/images/cats/biologiya.png)
Biology, 23.08.2019 19:50
![question](/tpl/images/cats/obshestvoznanie.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/en.png)