Skip to content

Instantly share code, notes, and snippets.

@Ilyes-Hammadi-Ahmed
Ilyes-Hammadi-Ahmed / Etudiant.java
Created March 6, 2015 20:39
Creation d'une class Etudiant
package com.company;
/**
* Created by Hammadi Ilyes Ahmed on 02/03/2015.
*/
public class Etudiant {
private String nom;
private String eMail;
private int age;
@Ilyes-Hammadi-Ahmed
Ilyes-Hammadi-Ahmed / company_Main.java
Created March 5, 2015 19:57
exercice 7 fiche TP 3 IPOO version POO
package com.company;
public class Main {
public static void main(String[] args) {
// write your code here
Rectangle rectangle = new Rectangle(8, 20);
rectangle.affiche();
}
@Ilyes-Hammadi-Ahmed
Ilyes-Hammadi-Ahmed / Rectangle.java
Created March 5, 2015 19:56
exercice 7 fiche TP 3 IPOO version POO
package com.company;
/**
* Created by Tor on 05/03/2015.
*/
public class Rectangle {
// attributs
private int hauteur;
private int largeur;
@Ilyes-Hammadi-Ahmed
Ilyes-Hammadi-Ahmed / company_Main.java
Created March 5, 2015 19:44
exercice 7 fiche TP 3 IPOO version POO
package com.company;
public class Main {
public static void main(String[] args) {
// write your code here
Rectangle rectangle = new Rectangle(8, 20);
rectangle.affiche();
}
package com.company;
public class Main {
public static void main(String[] args) {
// write your code here
}
package com.company;
public class Main {
public static void main(String[] args) {
// write your code here
}
/*
@Ilyes-Hammadi-Ahmed
Ilyes-Hammadi-Ahmed / Main.java
Created March 4, 2015 22:16
attention au remarques
package com.company;
public class Main {
public static void main(String[] args) {
// write your code here
}
package com.company;
public class Main {
public static void main(String[] args) {
// write your code here
// apelle de la methode
System.out.println(somme(1, 1));
}
package com.company;
public class Main {
public static void main(String[] args) {
// write your code here
// apelle de la methode
System.out.println(somme(1, 1));
}
package com.company;
public class Main {
public static void main(String[] args) {
// write your code here
// apelle de la methode
System.out.println(somme(1, 1));
}