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

Why is scala good for big data?

1 Answers  


What does set in scala collection?

1 Answers  


What do you mean by “type inference” in scala?

1 Answers  


What are throws in scala?

1 Answers  


What is bitset in scala?

1 Answers  


What is Monad in Scala?

1 Answers  


What is the main design decision about two separate keywords: class and object in Scala? How do we define Instance members and Static members in Scala?

1 Answers  


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

1 Answers  


What is string in scala?

1 Answers  


Is scala good for machine learning?

1 Answers  


Describe loops in scala?

1 Answers  


How scala is both functional and object-oriented programming language?

1 Answers  


Categories