Created
November 13, 2018 12:26
-
-
Save JeromeBATAILLE/df633a15e86b0f435050ddf1363b48ac to your computer and use it in GitHub Desktop.
Java Methods Indiana Jones
This file contains 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 indyJavaMethods; | |
public class SecretSentence { | |
public static String writeSecretSentence(String PARAMETRE_1, String PARAMETRE_2) { | |
return (PARAMETRE_1 + " s'incline face à " + PARAMETRE_2); | |
} | |
public static void main(String[] args) { | |
String fullSecretSentence = writeSecretSentence("Chat", "Montagne"); | |
System.out.println(fullSecretSentence); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment