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 the difference between :: and #:: in scala?



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

Answer / Pawan Prajapati

In Scala, `::` is a cons operator that constructs a linked list by appending an element to the head of another list.nOn the other hand, `#::` is used with a list as an argument instead of the head and tail arguments for the same purpose.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

Is Scala a Pure OOP Language? or Java a Pure OOP Language?

1 Answers  


What is scala and why it is used?

1 Answers  


What are the major advantages of Scala Language? Are there any drawbacks of Scala Language?

1 Answers  


What is exception propagation in scala?

1 Answers  


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

1 Answers  


Is scala an oop?

1 Answers  


What is anonymous (lambda) function in scala?

1 Answers  


Difference between Array and List in Scala?

1 Answers  


What is a ‘Scala set’? What square measure ways through that operation sets square measure expressed?

1 Answers  


What is Statically-Typed Language and What is Dynamically-Typed Language?

1 Answers  


Explain different types of identifiers in scala?

1 Answers  


What is a class in scala?

1 Answers  


Categories