Hi,
I am using this approach!
is there any speed overhead:-
public interface myInterface{
public interface another1{
public interface another2{
pubic static String myVar1 = "var1";
pubic static String myVar2 = Utils.createName ( myVar1 );
}
}
public interface another11{
public interface another12{
pubic static String myVar11 = "var11";
pubic static String myVar12 = Utils.createName ( myVar11 );
}
}
}
then accessing like:
myFunction ( myInterface.another1.another2.myVar1 );
public interface myInterface{
pubic static String myVar1 = "var1";
pubic static String myVar2 = Utils.createName ( myVar1 );
pubic static String myVar11 = "var11";
pubic static String myVar21 = Utils.createName ( myVar11 );
}
then accessing:
myFunction ( myInterfacemyVar1 );
?? which one is preferrable , along with time complexity??? Please help