Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is a applicative?



What is a applicative?..

Answer / Krishan Kumar

In Scala, an Applicative is a type class that allows for function composition with functions that take one argument. It provides the ability to apply a function of one argument to an argument wrapped in a container object (such as Option or Either). The main methods in an applicative are `pure` which wraps a value and `map2` which applies two functions to two values.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

Why do we need app in scala?

1 Answers  


Explain the difference between a trait and an abstract class?

1 Answers  


What is the result of x+y*z and why?

1 Answers  


What is exception propagation in scala?

1 Answers  


What are the data types in scala?

1 Answers  


Is scala an oop?

1 Answers  


How scala is different from java?

1 Answers  


What is the syntax for function declaration in scala?

1 Answers  


What are the major advantages of Scala Language? Are there any drawbacks of Scala Language?

1 Answers  


What is scala and why it is used?

1 Answers  


What is default access modifier in Scala?Does Scala have 'public' keyword?

1 Answers  


Why Scala does NOT have 'static' keyword? What is the main reason for this decision?

1 Answers  


Categories