mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-13 16:15:31 +08:00
remove unused variable
This commit is contained in:
@ -57,7 +57,6 @@ public class heap_sort {
|
|||||||
// Driver program
|
// Driver program
|
||||||
public static void main(String args[]) {
|
public static void main(String args[]) {
|
||||||
int arr[] = {12, 11, 13, 5, 6, 7};
|
int arr[] = {12, 11, 13, 5, 6, 7};
|
||||||
int n = arr.length;
|
|
||||||
|
|
||||||
heap_sort ob = new heap_sort();
|
heap_sort ob = new heap_sort();
|
||||||
ob.sort(arr);
|
ob.sort(arr);
|
||||||
|
Reference in New Issue
Block a user