All pastes #940470 Raw Edit

Someone

public java v1 · immutable
·published 2008-03-13 00:06 UTC
rendered paste body
import java.util.*;public class Cijferlijst{   private ArrayList cl;   private int aantal;   private int voldoende;   private int onvoldoende;   private int cijfer;      public Cijferlijst(int cijfer){       cl = new ArrayList<Cijferlijst>();       this.cijfer = cijfer;       cl.add(cijfer);       aantal = 0;        }      public void voegToe(int cijfer){              cl.add(cijfer);    }       public void printAantal(){       System.out.println( cl.size());     }       public void printGem(){   int totaal = 0;     int waarde = 0;       for (int i = 0; i > cl.size(); i++){           waarde = cl.get(i);           totaal = totaal + waarde;        }    }    }