Last active
August 8, 2019 19:09
-
-
Save fboeller/8f8b09797b2fc7d8190c2b0f509aa68a to your computer and use it in GitHub Desktop.
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
class Circle implements Shape { | |
double radius; | |
/* ... */ | |
public double diameter() { | |
return 2 * radius; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment