Se7en

public class Seven{
     private Pitt brad;
     private Spacey kevin;
     private ArrayList<String> sins = new ArrayList<String>{"GREED","GLUTTONY","SLOTH","LUST","PRIDE","ENVY","WRATH"};

     public void movie(){
            String sin;
            boolean isToMuch= false;
            for(sin : sins) {
                   if(sin.equals("WRATH"){
                         kevin.kill(brad.getWife());
                         isToMuch= true;
                   else{  
                          kevin.kill();
                   }
                   if(isToMuch)   brad.kill(kevin);  
            }
      }
}
Vote up this code1
  • TheoGB

    Technically Kevin kills Gwynneth as the sin of ENVY and then Brad kills him as WRATH.

    /ComicShopGuy

  • TheoGB

    Technically Kevin kills Gwynneth as the sin of ENVY and then Brad kills him as WRATH.

    /ComicShopGuy