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 |
What is string in scala?
What is Null in Scala? What is null in Scala? What is difference between Null and null in Scala?
Like Hibernate for Java-based applications, What are the Popular ORM Frameworks available to use in Play/Scala based applications?
What is a higher-order function in scala?
How do I append to the list?
List types of identifiers available in scala?
Does scala and java support call-by-name?
What is finally in scala?
What are the major differences between Scala’s Auxiliary constructors and Java’s constructors?
What is case class? What is case object? What are the Advantages of case class?
What are case classes in scala?
Is scala the best language ever?