Skip to content

Instantly share code, notes, and snippets.

View ilyeshammadi's full-sized avatar
🚀

Ilyes Hammadi ⵉⵍⵖⴻⵙ ilyeshammadi

🚀
  • Tiqets
  • Amsterdam, Netherlands
View GitHub Profile
@ilyeshammadi
ilyeshammadi / Etudiant.java
Created March 6, 2015 20:40
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;
<DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>page web</title>
</head>
<body>
<style>
/**
* Created by Ilyes Hammadi on 07/03/2015.
*/
public class Animal {
// attribut
private String name;
private int poid;
private static int nombreAnimeau = 0;
@ilyeshammadi
ilyeshammadi / Main.java
Created March 10, 2015 20:14
Voila bon courage Nis
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);
@ilyeshammadi
ilyeshammadi / Main.java
Created March 20, 2015 23:31
Bonne nuit
package com.company;
public class Main {
public static void main(String[] args) {
System.out.println("bonne nuit ");
}
}
package com.company;
import java.awt.*;
import static java.lang.Math.*;
/**
* Created by Ilyes Hammadi on 22/04/2015.
*/
public class Cercle {
Point centre;
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);
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) {
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>();
@ilyeshammadi
ilyeshammadi / Main.java
Created October 9, 2015 23:54
et Voila the challenge is complited B|
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;