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 call-by-value and call-by-name function parameters?



What is the difference between call-by-value and call-by-name function parameters?..

Answer / Ravindra Kumar Suman

Call-by-value and call-by-name are two methods for passing arguments to functions in programming languages, including Scala. In Call-by-value, the actual argument value is evaluated before it's passed to the function, while in Call-by-name, the function call evaluates the argument expression only when its value is needed inside the function.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

Explain the main drawback of scala language?

1 Answers  


What is the queue in the scala collection?

1 Answers  


What is the latest version of scala?

0 Answers  


What are the advantages of case class?

1 Answers  


What is Nothing in Scala? What is Nil in Scala? What is the relationship between Nothing and Nil in Scala?

1 Answers  


What is bitset in scala?

1 Answers  


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

1 Answers  


In what ways Scala is better than other programming language?

1 Answers  


Explain function currying in scala?

1 Answers  


Difference between Array and List in Scala?

1 Answers  


What is the best Framework to generate REST API documentation for Scala-based applications?

1 Answers  


What language is scala written in?

1 Answers  


Categories