denzelboy
Messages postés7Date d'inscriptionjeudi 29 mars 2007StatutMembreDernière intervention19 mai 2008
-
18 mai 2008 à 16:09
denzelboy
Messages postés7Date d'inscriptionjeudi 29 mars 2007StatutMembreDernière intervention19 mai 2008
-
19 mai 2008 à 20:18
Bonsoir ,
Je suis confronté a un problème et je ne sais pas quoi faire
Quelqu'un a une idée?
import java.util.*;
public class Coordonates extends Object{
protected int x;
protected int y;
protected char type;
public Coordonates(int x,int y){
this.x=x;
this.y=y ;
}
public Coordonates(int x,int y,char type){
this(x,y);
this.type=type;
}
//affichage de la list
for(int i=0;i<vect.size();i++){
Coordonates c=(Coordonates)vect.get(i);
c.print();
}
System.out.println("");
//ensuite je cherche a supprimer un element de la liste puis lajouter a la fin
Iterator iter = vect.listIterator();
while (iter.hasNext()){
Object o = iter.next();