Answer:
Personally would go with D.
Information being shared could be both good and bad but it all would be about the situation and if it was private information or not.
Answer:
public static void removeInRange(List<Integer> list, int value, int start, int end) {
for (int i = end - 1; i >= start; i--) {
if (list.get(i) == value) {
list.remove(i);
}
}
System.out.println(list);
}
Explanation:
- Create a method named <em>removeInRange</em> that takes four parameters, a list, an integer number, a starting index and an ending index
- Inside the method, initialize a <u>for loop</u> that iterates between starting index and ending index
- If any number between these ranges is equal to the given <em>value</em>, then remove that value from the list, using <u>remove</u> method
- When the loop is done, print the new list
Answer:
I say when u don't know the answer completly.
Answer: #1 is A
Explanation: Parents often monitor what their child is doing online because online activities can be threatening and sometimes dangerous to a child's life, depending on what they come across on the web. just a hunch