From fbc23195dfb682d8f6e9f64e61e9b351acda788f Mon Sep 17 00:00:00 2001 From: SnehaNarendran Date: Wed, 20 Oct 2021 10:14:13 +0530 Subject: [PATCH] Fix Class names to match with file --- Java/Algorithm/BubbleSort.java | 2 +- Java/Algorithm/InsertionSort.java | 2 +- Java/Algorithm/SelectionSort.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Java/Algorithm/BubbleSort.java b/Java/Algorithm/BubbleSort.java index cc14f33..67b87ea 100644 --- a/Java/Algorithm/BubbleSort.java +++ b/Java/Algorithm/BubbleSort.java @@ -1,4 +1,4 @@ -public class BubbleSortExample { +public class BubbleSort { static void bubbleSort(int[] arr) { int n = arr.length; int temp = 0; diff --git a/Java/Algorithm/InsertionSort.java b/Java/Algorithm/InsertionSort.java index fe093e6..542b3f4 100644 --- a/Java/Algorithm/InsertionSort.java +++ b/Java/Algorithm/InsertionSort.java @@ -1,4 +1,4 @@ -public class InsertionSortExample { +public class InsertionSort { public static void insertionSort(int array[]) { int n = array.length; for (int j = 1; j < n; j++) { diff --git a/Java/Algorithm/SelectionSort.java b/Java/Algorithm/SelectionSort.java index 67f62ce..b9ad190 100644 --- a/Java/Algorithm/SelectionSort.java +++ b/Java/Algorithm/SelectionSort.java @@ -1,4 +1,4 @@ -public class SelectionSortExample { +public class SelectionSort { public static void selectionSort(int[] arr){ for (int i = 0; i < arr.length - 1; i++) {