Java
Fermé
lafa73
Messages postés
39
Date d'inscription
vendredi 7 mars 2008
Statut
Membre
Dernière intervention
27 octobre 2008
-
8 avril 2008 à 16:53
UaLShark Messages postés 191 Date d'inscription vendredi 19 mai 2006 Statut Membre Dernière intervention 21 juillet 2010 - 8 avril 2008 à 18:23
UaLShark Messages postés 191 Date d'inscription vendredi 19 mai 2006 Statut Membre Dernière intervention 21 juillet 2010 - 8 avril 2008 à 18:23
A voir également:
- Java
- Jeux java itel ✓ - Forum Jeux vidéo
- Telecharger java - Télécharger - Langages
- Java apk - Télécharger - Langages
- Scanf en java ✓ - Forum Java
- Java heap space ✓ - Forum Java
1 réponse
UaLShark
Messages postés
191
Date d'inscription
vendredi 19 mai 2006
Statut
Membre
Dernière intervention
21 juillet 2010
35
8 avril 2008 à 18:23
8 avril 2008 à 18:23
class MyClass
{
static int myTab[Integer.MAX_VALUE]; // Tu peux remplacer Integer.machin par une valuer Entière
//Instanciation en permier temp
static void myProc()
{
MyClass.myTab[0] = 0; ...... // Iniatialisation dans un second temp
// ou une boucle
}
}
// ou bien static int myTab[3] = {0,1,2};//Instanciation + initialisation
{
static int myTab[Integer.MAX_VALUE]; // Tu peux remplacer Integer.machin par une valuer Entière
//Instanciation en permier temp
static void myProc()
{
MyClass.myTab[0] = 0; ...... // Iniatialisation dans un second temp
// ou une boucle
}
}
// ou bien static int myTab[3] = {0,1,2};//Instanciation + initialisation