Created
November 10, 2015 05:51
-
-
Save e-tverdokhleb/ca9b0e3527559727a188 to your computer and use it in GitHub Desktop.
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
public class Main { | |
public static void main(String[] args) { | |
System.out.println(square(4)); | |
} | |
static double square(double number) { | |
return (number * number); | |
} | |
static double square(int number){ | |
return (number * number); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment