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

What is the use of auxiliary constructors in scala? explain the rules to follow in defining auxiliary constructors in scala?

1 Answers  


What is the breakable method in scala?

1 Answers  


What is a custom exception in scala?

1 Answers  


What is a applicative?

1 Answers  


What is lambda expression in scala?

1 Answers  


What is call-by-name? Does Scala and Java support call-by-name? What is the difference between call-by-value and call-by-name function parameters?

1 Answers  


What is finally in scala?

1 Answers  


What is file handling in scala?

1 Answers  


Explain any five string methods?

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 is Primary Constructor? What is Secondary or Auxiliary Constructor in Scala?

1 Answers  


What is the use of 'object' keyword in Scala? How to create Singleton objects in Scala?

1 Answers  


Categories