Skip to content

Instantly share code, notes, and snippets.

@Ilyes-Hammadi-Ahmed
Created March 4, 2015 22:30
Show Gist options
  • Select an option

  • Save Ilyes-Hammadi-Ahmed/054caa6dfa7827a66b6b to your computer and use it in GitHub Desktop.

Select an option

Save Ilyes-Hammadi-Ahmed/054caa6dfa7827a66b6b to your computer and use it in GitHub Desktop.
package com.company;
public class Main {
public static void main(String[] args) {
// write your code here
}
/*
convention de nomage:
les variable et les fonction doive toujour comncer par une minusculle ex: nombreDeJour , afficheTableau()
les class comence toujour pas une majiscule ex: Etudiant , Users, AnimalDomestique
les conrtantes s'ecrive toute en magicule ex: NOMBRE_DE_JOURS_DANS_LA_SEMAINE
*/
public static void affiche(int[] tableau){
for (int i = 0; i < tableau.length; i++) {
System.out.println(tableau[i]);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment