All pastes #940467 Raw Edit

Someone

public text v1 · immutable
·published 2008-03-13 00:01 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;
        }
    }    
}