Junior has to be declared as

ArrayList<Programmers> juniors = new ArrayList();

or you can cast what you get from the Array

proWithoverp = (Programmers)this.juniors.get(i);