class Point { private int x,y; public Point (int x, int y){ this.x = x; this.y = y; } public void affiche() { identifie(); System.out.println(" Mes coordonnées sont : " + x + " " + y); } public void identifie() { System.out.println("Je suis un point "); } } class Pointcol extends Point { private byte couleur; public Pointcol (int x, int y,byte couleur){ super(x,y); this.couleur = couleur; } public void identifie() { System.out.println("Je suis un point coloré de couleur " + couleur); } } public class exo1 { public static void main (String args[]){ Point [] tabPts = new Point[4]; tabPts[0] = new Point(0,2); tabPts[1] = new Pointcol(1,5,(byte)3); tabPts[2] = new Pointcol(2,8,(byte)9); tabPts[3] = new Point(1,2); for (int i=0; i