Skip to content

Instantly share code, notes, and snippets.

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

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

Select an option

Save Ilyes-Hammadi-Ahmed/f9da04748f07ae740fef 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
// apelle de la methode
System.out.println(somme(1, 1));
}
// creation d'une methode qui somme deux nombre
public static float somme(float a, float b){
return a + b;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment