Cree tableau static a 2 dim en java
Fermé
5101999
-
Modifié le 26 déc. 2019 à 12:08
Vit@l Messages postés 28 Date d'inscription dimanche 6 avril 2014 Statut Membre Dernière intervention 12 juin 2020 - 11 févr. 2020 à 09:24
Vit@l Messages postés 28 Date d'inscription dimanche 6 avril 2014 Statut Membre Dernière intervention 12 juin 2020 - 11 févr. 2020 à 09:24
Hi
Comment initialise un tableau static a 2 dim en java?
Comment initialise un tableau static a 2 dim en java?
A voir également:
- Cree tableau static a 2 dim en java
- Waptrick java football - Télécharger - Jeux vidéo
- Jeux java itel football - Télécharger - Jeux vidéo
- Tableau word - Guide
- Code ascii tableau - Guide
- Tableau croisé dynamique - Guide
1 réponse
Vit@l
Messages postés
28
Date d'inscription
dimanche 6 avril 2014
Statut
Membre
Dernière intervention
12 juin 2020
4
11 févr. 2020 à 09:24
11 févr. 2020 à 09:24
Si par "initialiser" tu veux dire l'instancier sans aucune valeur à l'intérieur; tu peux faire ceci par exemple:
String[][] monTableau=new String[nombreDeLignes][nombreDeColonnes];