What is currying in scala?
Answer / Gajram Singh
Currying in Scala refers to a technique where a function that takes multiple arguments is converted into a sequence of functions, each with a single argument. It allows partial application, meaning you can call a function with some but not all of its arguments, and then provide the remaining arguments later.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between Function and Method in Scala?
mention the types of variables in scala? And what is the difference between them?
What are the Java’s OOP constructs not supported by Scala? What are the Scala’s OOP constructs not supported by Java? What are the new OOPs constructs introduced by Scala, but not supported by Java?
What companies use scala?
What is the Relationship between equals method and == in Scala? Differentiate Scala’s == and Java’s == Operator?
What is the difference between val and var in Scala?
What is an anonymous object in scala?
Differentiate between null, nil, none and nothing?
What do you understand by apply and unapply methods in scala?
What are option, some and none in scala?
How to create arrays in scala?
What is SBT? What is the best Build Tool to develop Play and Scala Applications?