I have a requirement that i have some String values and i have to save the values somewhere say in a list.And the values once i inserted into the list should remain there.So that if i want to use that values later i should not put those values in the list again.i am giving a simple piece of code to illustrate my problem...

```
public class Chkrecords {

public static void main(String a[]){

    List<String> inti=new ArrayList<>();

    String arr[]={"a","b","c","d"};

//      for(int i=0;i<arr.length;i++){
//          
//          inti.add(String.valueOf(arr[i]));
//      }
     System.out.println(inti);

}
}

```

this is the piece of code i am trying to implement ... the for loop is going to insert the values for the first time.And from then i don't want to use that loop again,but i want the values be in the list..Can anyone help me....