Bonjour,

J'ai des erreurs dans mon code et je n'arrive pas à compiler mon programme.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
public class Somme {
    Somme(String s){
        super(s);
        System.out.println(s+"hhhh");
    }
    public void run(){
        int j = 0;
        for(int i=0; i<9; i++){
            j=j+i;
        }
        System.out.println(j);
    }
    class Main3{
        public static void main(String args[]){
            for(int i=0; i<4; i++){
                new Somme("Somme" + Integer.toString(i)).start();
            }
        }
    }
}
Quelqu'un saurait-il m'indiquer ce qui ne va pas ?

Merci d'avance pour votre aide.