You can try this trick that I learned:
public class Constants{ public final static String EmpNo= "1111".intern(); }
Calling 'intern()' prevents the compiler from in-lining the value to the calling class while still giving you the advantage of using shared literal string values.