Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def sqrt = (x: Int) =>
- if (x > 0 && x < 4)
- x * x
- def method = (x: String) =>
- if (x.equals("abc"))
- x.concat(x)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement