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


Difference between Array and List in Scala?



Difference between Array and List in Scala?..

Answer / Tauqeer Ahmad

In Scala, Arrays are fixed-size, mutable data structures with homogeneous elements, whereas Lists can be either mutable or immutable (ListBuffer for mutable lists, List for immutable lists) and can contain heterogeneous elements. Arrays have faster access times than lists due to their contiguous memory allocation, but lists are more flexible in terms of their size and element types.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

What language is scala written in?

1 Answers  


What is the current latest version of Scala?

1 Answers  


Explain what is Scala?

1 Answers  


What is method overriding in scala?

1 Answers  


What is scala best used for?

1 Answers  


How do you prove that by default, Case Object is Serializable and Normal Object is not?

1 Answers  


Explain different types of identifiers in scala?

1 Answers  


Mention the distinction between associate degree object and a category ?

1 Answers  


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

1 Answers  


What do you mean by a scala map?

1 Answers  


What is function composition in scala?

1 Answers  


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

1 Answers  


Categories