Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- object test
- {
- val n = 3
- def f (x:Int) : Int = x+1
- def main(args: Array[String])
- {
- println(f(n))
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement