Here are couple of scala points
- You can call a function without using . operator example : emp getName , Here emp is the object getName is function, just by giving space you can call the function.
- No need to provide braces after the function Name, unlike in java we use paranthesis (getName()).
No comments:
Post a Comment