Etudes/BTS/Java/Premiere annee/figGeometrique/Main.java

37 lines
778 B
Java
Raw Permalink Normal View History

2016-10-14 15:52:18 +00:00
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package figGeometrique;
/**
*
* @author therbron
*/
public class Main {
/*public static void main(String[] args) {
Point p1, p2, p3, p4;
Trait t1;
Carre c1;
Triangle tri1;
p1 = new Point();
p2 = new Point(1.0, 2.1);
p3 = new Point(p2);
t1 = new Trait(p1, p2, false, 5);
c1 = new Carre(20);
tri1 = new Triangle(10, 12, 14);
System.out.println(tri1);
t1.afficherLongueur();
c1.afficherAire();
tri1.afficherAire();
}*/
}