Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sealed class Shape
- class Rectangle(val x: Double, val y: Double) : Shape()
- class Circle(val radius: Double) : Shape()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement