Can we directly import non-static methods without importing class (like we do for static methods)?

后端 未结 0 1236
隐瞒了意图╮
隐瞒了意图╮ 2021-01-12 10:09

For static methods, I can import directly e.g.: import static io.restassured.RestAssured.given;

Is it applicable for non-static/instance methods also?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题