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

What is string in scala?

1 Answers  


What is Null in Scala? What is null in Scala? What is difference between Null and null in Scala?

1 Answers  


Like Hibernate for Java-based applications, What are the Popular ORM Frameworks available to use in Play/Scala based applications?

1 Answers  


What is a higher-order function in scala?

1 Answers  


How do I append to the list?

1 Answers  


List types of identifiers available in scala?

1 Answers  


Does scala and java support call-by-name?

1 Answers  


What is finally in scala?

1 Answers  


What are the major differences between Scala’s Auxiliary constructors and Java’s constructors?

1 Answers  


What is case class? What is case object? What are the Advantages of case class?

1 Answers  


What are case classes in scala?

1 Answers  


Is scala the best language ever?

1 Answers  


Categories