Quote Originally Posted by qwertysaur View Post
Code:
import java.util.ArrayList;
/**
* Speech for Ciddies summer 2010
* category helpful techy
*
* @author qwertysaur
* @version 6.20.10
*/


public class HelpfulTechy extends Ciddie{

  /**
  * fields
  */


private Arraylist NomineeList;
 public Host AwardGuy;
  
  /**
  * Constructor for this speech
  */


  public HelpfulTechy(){
       NomineeList = new ArrayList;
       NomineeList.add(new Nominee FlyingMullet);
       NomineeList.add(new Nominee LoonyBoB);
       NomineeList.add(new Nominee Mirage);
       NomineeList.add(new Nominee o_O);
       NomineeList.add(new Nominee Rantzien);
       printBlurbs();
       giveCiddie();
     }

   /**
   *method to print the speech blurbs
   */


     protected void printBlurbs(){
       System.out.println("Here is a little info about each nominee");
       FlyingMullet.print();
       LoonyBoB.print();
       Mirage.print();
       o_O.print();
       Rantzien.print();
       }

   /**
  * method to award the ciddie
  */


     protected void giveCiddie(){
       String winner = "";
       int temp = 0;
       for(int index = 0; index < NomineeList.size; index++){
           int count = NomineeList.get(index).getVoteCount();
           if (count >> temp){
                temp = count;
                winner = NomineeList.get(index).getName();
               }  
            }
      AwardGuy.awardCiddie(winner);
      }
}
-5 marks for using protected like a sissy bitch