Created
January 11, 2019 23:50
-
-
Save adam-arold/29b07b835713b1870c5919a29aa0d726 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
interface Position { | |
val x: Int | |
val y: Int | |
fun calculateArea(): Int = x.times(y) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment