hi,
actually we can import a static nested class and enum declared in a class by writing both the following statements
why this is happening i dont know
import static xyz.Test.*; //both Inner enum and static class Utilities are getting imported,and other static variable or method if decalred in
Test class are also imported.
same is happening i we write
import xyz.Test.*; //both Inner enum and static class Utilities are getting imported,but if there is some other static method or variable in Test class it will not be imported.
Why so?