History repeate itself....
About Me
chaos state
View my complete profile
Followers
Tuesday, March 6, 2018
Anonymous functions
Q1)What is Anonymous functions in Scala?
Ans:An anonymous function is an expression that evaluates to a function;
the function is defined without giving it a name.
Example:
(x:Int) => x*x*x
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment