Advertisement
Guest User

Untitled

a guest
Mar 28th, 2015
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. def sqrt = (x: Int) =>
  2. if (x > 0 && x < 4)
  3. x * x
  4.  
  5. def method = (x: String) =>
  6. if (x.equals("abc"))
  7. x.concat(x)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement