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 |
Is Scala a Pure OOP Language? or Java a Pure OOP Language?
What is scala and why it is used?
What are the major advantages of Scala Language? Are there any drawbacks of Scala Language?
What is exception propagation in scala?
How scala is both functional and object-oriented programming language?
Is scala an oop?
What is anonymous (lambda) function in scala?
Difference between Array and List in Scala?
What is a ‘Scala set’? What square measure ways through that operation sets square measure expressed?
What is Statically-Typed Language and What is Dynamically-Typed Language?
Explain different types of identifiers in scala?
What is a class in scala?