Remove unneccessary space

This commit is contained in:
Siwat Sirichai 2020-10-26 22:11:44 +07:00
parent a638a4a409
commit a74723ca66
2 changed files with 0 additions and 1 deletions

View File

@ -1,7 +1,6 @@
//This code is written by Siwat Sirichai
package partB;
public class Replace {
public static int[] replace(int[] a, int v, int v2) {
if (a==null)return a; //If a is a null pointer, return immediately to prevent a NullPointerException
for(int i = 0; i < a.length;i++) //loop from 0 to the length of array a, number of completed iteration is stored in i (type int)