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 the difference between Function and Method in Scala?



What is the difference between Function and Method in Scala?..

Answer / Vidit Dixit

A function in Scala is a first-class citizen, meaning it can be treated like any other value. Functions are anonymous, self-contained units of functionality that can be passed as arguments to other functions or returned from functions. A method is a member of an object or class and operates on the state of the object.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

What is the best tool to develop Play/Scala applications to persist data in MongoDB NoSQL data store?

1 Answers  


Compare to java what are the major advantages or benefits of scala?

1 Answers  


How do we declare a private Primary Constructor in Scala? How do we make a call to a private Primary Constructor in Scala?

1 Answers  


What is the default Unit and Functional Testing Framework for Play? What is the default Build Tool for Play? What is the Default Template Engine for Play? What is the built-in Web Server available in Play Framework?

1 Answers  


How to create arrays in scala?

1 Answers  


Differentiate nil, null, none, and nothing in scala.

1 Answers  


What is the difference between statically typed and dynamically typed languages?

1 Answers  


What is the use of ‘???’ in Scala-based Applications?

1 Answers  


What is the queue in the scala collection?

1 Answers  


What is 'Type Inference' in Scala?

1 Answers  


Explain extractors in scala?

1 Answers  


In Scala, Pattern Matching follows which Design Pattern? In Java, ‘isinstanceof’ operator follows which Design Pattern?

1 Answers  


Categories