Mybatis-Generator的ShellRunner类Main方法,调用其他类的静态方法不用导包,也不用声明类名?

Owen.tu 2019-08-12 02:40:54
哪位大佬能解释下是为什么?
调用其他类的静态方法不用导包,也不用声明类名?
图1

图2

图3
...全文
166 1 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
Owen.tu 2019-08-12
  • 打赏
  • 举报
回复
import static和import的区别 https://www.cnblogs.com/heiming/p/7416444.html

62,634

社区成员

发帖
与我相关
我的任务
社区描述
Java 2 Standard Edition
社区管理员
  • Java SE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧