This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.company; | |
| /** | |
| * Created by Hammadi Ilyes Ahmed on 02/03/2015. | |
| */ | |
| public class Etudiant { | |
| private String nom; | |
| private String eMail; | |
| private int age; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>page web</title> | |
| </head> | |
| <body> | |
| <style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Created by Ilyes Hammadi on 07/03/2015. | |
| */ | |
| public class Animal { | |
| // attribut | |
| private String name; | |
| private int poid; | |
| private static int nombreAnimeau = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.company; | |
| public class Main { | |
| public static void main(String[] args) { | |
| // write your code here | |
| Integer a = new Integer(5); | |
| Integer c = new Integer(3); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.company; | |
| public class Main { | |
| public static void main(String[] args) { | |
| System.out.println("bonne nuit "); | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.company; | |
| import java.awt.*; | |
| import static java.lang.Math.*; | |
| /** | |
| * Created by Ilyes Hammadi on 22/04/2015. | |
| */ | |
| public class Cercle { | |
| Point centre; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.company; | |
| import java.awt.*; | |
| public class Main { | |
| public static void main(String[] args) { | |
| // write your code here | |
| Cercle c1 = new Cercle(new Point(1, 3), 1); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.company; | |
| import java.util.ArrayList; | |
| import java.util.Scanner; | |
| public class Main { | |
| private Scanner clavier = new Scanner(System.in); | |
| public static void main(String[] args) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.ArrayList; | |
| import java.util.List; | |
| /** | |
| * Created by Ilyes Hammadi on 04/05/2015. | |
| */ | |
| public class Adherant extends Personne { | |
| private int numeroAdherant; | |
| private List<ArticleMediatheque> articles = new ArrayList<ArticleMediatheque>(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.Objects; | |
| public class Main { | |
| public static void main(String[] args) { | |
| System.out.println(countCouple("abc", "axc")); | |
| } | |
| public static int countCouple(String firstWord, String secondWord) { | |
| int count = 0; |
OlderNewer