I am trying to see the contents of an array, but when I run it comes an error message
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 101
Does anyone know where the problem is? here is my code:
public final class KonversiQtoH extends DebitDiberikan{
public KonversiQtoH() throws SQLException{
    QBeriPintu1();
}
Connection c = KoneksiDatabase.getKoneksi();
Float[] fine;
public void QBeriPintu1() throws SQLException{
    try{
        List rowValues = new ArrayList();
        Statement s = c.createStatement();
        String sql = "SELECT LA40 from tabel_debit";
        ResultSet rs = s.executeQuery(sql);
        while (rs.next()){
            rowValues.add(rs.getFloat("LA40"));
        }
        rs.close();
        s.close();
        fine = (Float[]) rowValues.toArray(new Float[rowValues.size()]);
    }catch(SQLException e){
        System.err.println("QKanan, error");
    }
}
public static void main(String[] args) throws SQLException{
    KonversiQtoH j = new KonversiQtoH();
    j.QBeriPintu1();
    for (int i=0; i<=j.fine.length; i++){
        int a = i+1;
        System.out.println(a+". "+j.fine[i]);
    }
}
}
 
     
     
    