Is this how Java package imports are supposed to work?

前端 未结 4 449
醉酒成梦
醉酒成梦 2020-12-21 08:34

I\'ve been struggling with my first regex. During the compile, Pattern and Matcher kept getting cannot find symbol errors.

I j

4条回答
  •  一整个雨季
    2020-12-21 09:38

    No, package imports only get the direct classes in that package (java.* will not import everything, only ones such as Java.SomeClass, not java.util.SomeClass)

提交回复
热议问题