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 a tuple in scala?



What is a tuple in scala?..

Answer / Shany Singh

A Tuple in Scala is an ordered collection of elements that may be of different data types. Tuples are immutable and are represented as (element1, element2, ...). For example: val tpl = (1, 'a', 3.14)

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

What is akka in scala? Explain

1 Answers  


What is unit in scala?

1 Answers  


What is a function literal in scala?

1 Answers  


What are the advantages of a anonymous function/function literal in scala?

1 Answers  


What is the difference between 'val' and 'lazy val' in Scala? What is Eager Evaluation? What is Lazy Evaluation?

1 Answers  


What are the major differences between Scala’s Auxiliary constructors and Java’s constructors?

1 Answers  


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

1 Answers  


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

1 Answers  


What is default access modifier in Scala?Does Scala have 'public' keyword?

1 Answers  


What are throws in scala?

1 Answers  


Explain the main drawback of scala language?

1 Answers  


What is throw in scala?

1 Answers  


Categories