Write a program that implements a method that receives an array parameter and sorts that array using the bubble-sort algorithm. The bubble-sort algorithm makes several passes through the array. On each pass, successive neighboring pairs are compared. If a pair is in decreasing order, its values are swapped: otherwise, the values remain unchanged. The technique is called a bubble sort because the smaller values gradually "bubble" their way to the top.

The algorithm may be described as follows:

boolean changed;

do{

changed = false;

for(int i = 0; i

if(list[i] > list[i + 1]){

swap list[i] with list[i + 1];

changed = true;

}

}

}while(changed);

Continue to properly document your source code. Write this program as if you were explaining it to someone new to arrays. Fully document your code in such a way newcomers to Java will understand and be able to implement a Java array.

The algorithm may be described as follows:

boolean changed;

do{

changed = false;

for(int i = 0; i

if(list[i] > list[i + 1]){

swap list[i] with list[i + 1];

changed = true;

}

}

}while(changed);

Continue to properly document your source code. Write this program as if you were explaining it to someone new to arrays. Fully document your code in such a way newcomers to Java will understand and be able to implement a Java array.

### Recently Asked Questions

- The fish and game department in a certain state is planning to issue hunting permits to control the deer population (one deer per permit). It is known that if

- consider the function y=x 2 -5x+9. at what value of y is the slope of the tangent line equal to -1?

- Franklin Roosevelt if often credited (or blamed) for creating the modern presidency. Discuss the two or three most significant changes that Roosevelt was