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 are the differences between Array and ArrayBuffer in Scala?



What are the differences between Array and ArrayBuffer in Scala?..

Answer / Omkar Singh

Array is a fixed-size, immutable array data structure, while ArrayBuffer is a mutable, resizable array buffer. Array provides better performance for read operations due to its immutability, but it cannot be modified once created. In contrast, ArrayBuffer allows for dynamic resizing and insertion/removal of elements.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

Explain the functionality of yield?

1 Answers  


What is formula tail in scala?

1 Answers  


How do I append data in a list?

1 Answers  


What is unapply method in scala?

1 Answers  


What is vector in scala collection?

1 Answers  


What is the difference between var and value?

1 Answers  


Explain operator and Explain types of operators in scala?

1 Answers  


What are the Scala Features?

1 Answers  


What is an ofdim method in scala?

1 Answers  


What is the difference between :: and #:: in scala?

1 Answers  


What is hashset in scala collection?

1 Answers  


Explain streams in scala?

1 Answers  


Categories