Skip to content

Commit bb927da

Browse files
authored
Update 2023-11-13-check-if-two-arrays-are-equal.md
1 parent 2bafe9a commit bb927da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎_posts/java-programs/2023-11-13-check-if-two-arrays-are-equal.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ We have x ways to check if the two Arrays are equal or not.
1414
1. Iterating over an array
1515
2. Using the `Arrays.equal()` method
1616

17-
## 1. Iterating over an array
17+
## 1. Java Program To Check Two Arrays Are Equal By Iterating over an Array
1818

1919
To check if the two arrays are equal or not, we can use the following strategy.
2020

@@ -87,7 +87,7 @@ The arrays are not equal
8787

8888

8989

90-
## 2. Using `Arrays.equals()` method
90+
## 2. Java Program To Check Two Arrays Are Equal Using `Arrays.equals()` method
9191

9292
To check if the two arrays are equal or not, we are using the ready-made Arrays.equals() method.
9393

0 commit comments

Comments
 (0)