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 lazy val in scala?



What is lazy val in scala?..

Answer / Nitesh Goel

Lazy Val in Scala is a keyword used to define a value that is not computed until it is first accessed. It allows for the deferring of expensive computations or I/O operations until they are actually needed.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

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

1 Answers  


Explain the use of tuples in scala?

1 Answers  


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

1 Answers  


What are the different types of Scala literals?

1 Answers  


Explain recursion through a program?

1 Answers  


How do I append data in a list?

1 Answers  


What is a applicative?

1 Answers  


What is lazy val in scala?

1 Answers  


What is a trait mixins in scala?

1 Answers  


What is recursion tail in scala?

1 Answers  


What is a ‘Scala map’?

1 Answers  


What is Extractor in Scala? What is the difference between Constructor and Extractor in Scala? What is the use of Extractor in Scala?

1 Answers  


Categories