..please help me . write me a code,,,
i have an array of objects..
Account s = new Account;
i want to make a method that,
public int add (String id) << this method checks if the id is existed int the array if yes displays a message if no it adds an object !!
HOW to make it ,,:confused::confused: ,, please write me a full code