tree and classes ok ! :D

This commit is contained in:
JunkJumper
2020-05-20 17:36:45 +02:00
parent 91677806cf
commit e675183ae8
122 changed files with 263 additions and 1012 deletions

View File

@ -1,4 +1,4 @@
package comparable;
package TD9.comparable;
public class ComparetoDepNom /*implements comparator<Personne>*/ {

View File

@ -1,4 +1,4 @@
package comparable;
package TD9.comparable;
public class Enseignant extends Personne{

View File

@ -1,4 +1,4 @@
package comparable;
package TD9.comparable;
public class Etudiant extends Personne{

View File

@ -1,4 +1,4 @@
package comparable;
package TD9.comparable;
public abstract class Personne implements Comparable<Personne>{

View File

@ -1,4 +1,4 @@
package comparable;
package TD9.comparable;
import java.util.*;

View File

@ -1,4 +1,4 @@
package pokemon;
package TD9.pokemon;
import java.util.*;
import java.lang.Math;

View File

@ -1,4 +1,4 @@
package pokemon;
package TD9.pokemon;
public abstract class Pokemon implements Comparable<Pokemon> {

View File

@ -1,4 +1,4 @@
package pokemon;
package TD9.pokemon;
public class PokemonEAU extends Pokemon{
private int nb_nageoires;

View File

@ -1,4 +1,4 @@
package pokemon;
package TD9.pokemon;
public class PokemonELECTRIK extends Pokemon {
private int nb_pattes;

View File

@ -1,4 +1,4 @@
package pokemon;
package TD9.pokemon;
public class PokemonFEU extends Pokemon {
private int nb_pattes;

View File

@ -1,4 +1,4 @@
package pokemon;
package TD9.pokemon;
public class PokemonPLANTE extends Pokemon{

View File

@ -1,4 +1,4 @@
package pokemon;
package TD9.pokemon;
import java.util.*;

View File

@ -1,4 +1,4 @@
package pokemon;
package TD9.pokemon;
enum Type {