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 a companion object?

1 Answers  


What is the best Scala style checker tool available for Play and Scala based applications?

1 Answers  


What is the use of ‘yield’ keyword in Scala’s for-comprehension construct?

1 Answers  


What are the advantages of scala over java (java 8)?

1 Answers  


How do I append to the list?

1 Answers  


Explain pattern matching in scala through an example?

1 Answers  


What do you mean by scala map?

1 Answers  


What is a closure in Scala?

1 Answers  


What is the breakable method in scala?

1 Answers  


What is a collection in scala?

1 Answers  


What are the different types of Scala literals?

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