ok
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
package fr.iutfbleau.projetIHM2022FI2.Test;
|
||||
import fr.iutfbleau.projetIHM2022FI2.API.*;
|
||||
import fr.iutfbleau.projetIHM2022FI2.Graphic.View.*;
|
||||
import fr.iutfbleau.projetIHM2022FI2.Graphic.View.MaFenetre;
|
||||
import fr.iutfbleau.projetIHM2022FI2.MNP.*;
|
||||
import java.util.*;
|
||||
//import java.util.Random;
|
||||
|
||||
public class TestTexteMNP{
|
||||
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
// morceaux de modèle
|
||||
|
||||
// Notez que à gauche d'une déclaration on utilise une interface et à droite une version concrète.
|
||||
@@ -17,7 +19,8 @@ public class TestTexteMNP{
|
||||
|
||||
System.out.println("Test de l\'API");
|
||||
System.out.print("Création des étudiants");
|
||||
|
||||
MaFenetre fenetre=new MaFenetre();
|
||||
fenetre.setVisible(true);
|
||||
Etudiant e1=new EtudiantNP("césar","lycurgus");
|
||||
Etudiant e2=new EtudiantNP("denis","uranus");
|
||||
Etudiant e3=new EtudiantNP("marcel","castor");
|
||||
|
Reference in New Issue
Block a user