What is currying in scala?



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

Post New Answer

More Scala Interview Questions

What is the difference between Function and Method in Scala?

1 Answers  


mention the types of variables in scala? And what is the difference between them?

1 Answers  


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?

1 Answers  


What companies use scala?

1 Answers  


What is the Relationship between equals method and == in Scala? Differentiate Scala’s == and Java’s == Operator?

1 Answers  


What is the difference between val and var in Scala?

1 Answers  


What is an anonymous object in scala?

1 Answers  


Differentiate between null, nil, none and nothing?

1 Answers  


What do you understand by apply and unapply methods in scala?

1 Answers  


What are option, some and none in scala?

1 Answers  


How to create arrays in scala?

1 Answers  


What is SBT? What is the best Build Tool to develop Play and Scala Applications?

1 Answers  


Categories