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...


Does scala and java support call-by-name?



Does scala and java support call-by-name?..

Answer / Prashant Udainia

Yes, both Scala and Java support call-by-name. In Scala, you can use byName parameters for this purpose, while in Java, you can use MethodHandle or Functional Interfaces to achieve similar results.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

What are throws in scala?

1 Answers  


What is 'Type Inference' in Scala?

1 Answers  


What is exception handling in scala?

1 Answers  


Explain the functionality of yield?

1 Answers  


When compare to Normal Class, What are the major advantages or benefits of a Case-class?

1 Answers  


What are the Advantages of Functional Programming (FP) or Advantages of Pure Functions?

1 Answers  


Is scala an oop?

1 Answers  


What do you mean by a case class in scala?

1 Answers  


Explain the difference between a trait and an abstract class?

1 Answers  


What is unapply method in scala?

1 Answers  


Explain any five string methods?

1 Answers  


What does set in scala collection?

1 Answers  


Categories