Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- object Utils {
- def speed(distance: Double, time: Double) = distance / time
- speed(100, 10)
- speed(distance = 100, time = 10)
- speed(time = 10, distance = 100)
- class Point(x1: Int = 0, x2: Int = 0, x3: Int = 0, x4: Int = 0, x5: Int = 0, x6: Int = 0)
- new Point(x2 = 3, x5 = -2)
- }
Add Comment
Please, Sign In to add comment