0

My question is; for an example, when I'm importing classes from JUnit library, the exact classes that I want are: Result, JUnitCore, notification.failure

And these are available in the junit.runner parent class.

So if I import as:

import org.junit.runner.*; 

... will it be considered as good practice? Because by doing this definitely I'll be importing unwanted classes too.

Lasse Christiansen
  • 9,915
  • 7
  • 45
  • 77
KingFeming
  • 1,053
  • 10
  • 21

0 Answers0