Array in Java (1D)

In this tutorial I will talk about one dimensional array in java. In the next tutorial we will learn about multidimensional array. Array in Java Array is the collection of similar type of data having contiguous memory location.  Due to contiguous memory location the performance becomes fast.  The biggest disadvantage of array is, we can’t …

Array in Java (1D) Read More »

Bubble Sort Java Program

Bubble sort in java is the simplest sorting technique. In bubble sort algorithm each element is compared to next adjacent element, if the next element is smaller, then it will be swapped by previous element. Although this technique is simple but it is too slow as compared to other sorting techniques. Below I have shared …

Bubble Sort Java Program Read More »