Java Guru's Help -a Interface or Multiple interface which is better??
Posted on 2002-07-24
i have a Interface where i define constants used throughout the application and now implement to all classes in the appln,
my query if i divide this interface into a common interface( only containing common constants for all classes )and other multiple other interfaces(I1, I2 etc...) which have constants particular to the individual classes...
does the these 2 different way have any performance implication on memory etc ??
which is a better option if we judge on parameters of
performance, memory, understandibilty, OOP etc..etc..
thanks in advance