Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. //@author @hacktw
  2. // aamir-4u.blogspot.com
  3. public class DelArray {
  4.     public static void main(String[] args) {
  5.         char [] name= {'A','A','M','I','R'};
  6.         int len = name.length-1;
  7.         char del = 'I';
  8.         for (int i =0; i<=len; i++){
  9.             if (name[i]!=del){
  10.                 System.out.println(name[i]);
  11.             }
  12.         }
  13.     }
  14.  
  15. }