Take the 2-minute tour ×  In my opinion, one of the greatest
things about Scala is its interoperability with Java and its
similar syntax. One thing that I found strange is the use of the
_ operator for package wilcard imports instead of the * operator
that is used in Java.  Is there a technical reason for using _
instead of *? If not, then why was this change done?
share|improve this question This might just be a functional
thing. I know Haskell uses _ in a few places to act as a
wildcard/not-specified value. –  KChaloux Apr 11 '13 at 19:17  4
Answers 4  up vote 21 down vote accepted  In Scala, the * is a
valid identifier. One could write:  val * = "trollin'"  With the
result being:   One could write a class named * as such:  class
* {   def test():String = {  So with that being the case, when I
have a class * in the package us.hexcoder and I write:  import
us.hexcoder.*  You would be saying that you wish to import a
class with the name *. Because of this, Scala needed to use
another symbol to indicate a wil