Hi folks,
Here i have a doubt regarding
java 5.0 static imports feature.
Suppose i have two classes Test1 and Test2 which contains static member variable with the same name "NAME" of type
String.
If i import it like...
Import com.test.Test1.*;
Import com.test.Test2.*;
Public class TestMain
{
System.out.println(NAME);//here i am expecting the NAME variable from Test1
System.out.println(NAME);//here i am expecting the NAME variable from Test2
//how to avoid name space collision here
//Or let me know what is the better usage of static import in this scenario
}