You'll need a helper variable for this, so depending on your programming language, the solution becomes:
int helper;
helper = arr[i];
arr[i] = arr[j];
arr[j] = helper;
Answer:
I can :) just comment lol
An example of new technology that is having a negative impact on sustainability is using multiple servers to maintain a cryptocurrency operation.
<h3>How does technology influence sustainability?</h3>
The use of technology is one that have a lot of power to increase productivity, efficiency and cost savings, and others but it is also known to have a negative effect on the environment.
Sustainability implies that one meets the needs of people without having to compromise the power of future posterity to meet their own needs.
Learn more about sustainability from
brainly.com/question/25350238
Answer:
public class TestImport{
public static void main(String[] args) {
String string1 = args[1];
String string2 = args[2];
System.out.println(string1 +" " +string2);
}
}
Explanation:
The solution here is to use string concatenation as has been used in this statement System.out.println(string1 +" " +string2);
When this code is run from the command line and passed atleast three command line arguments for index 0,1,2 respectively, the print statment will return the second string (that is index1) and the third argument(that is index2) with a space in-between the two string.