Bubble sort algorithm in Java to sort an array

code
890
0
Prompt
Write a bubble sort algorithm in Java to sort an array of integers in ascending order.