Skip to content

Instantly share code, notes, and snippets.

@bmchild
Created July 9, 2015 21:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bmchild/ab216be2ecf68b0677af to your computer and use it in GitHub Desktop.
Save bmchild/ab216be2ecf68b0677af to your computer and use it in GitHub Desktop.
public interface Employable {
String MY_CONSTANT = "value"
}
public class MyClass {
private String theConstant = Employable.MY_CONSTANT;
}
public class MyConstants {
public static final String MY_CONSTANT = "a value";
}
public class MyClass {
private String theConstant = MyConstants.MY_CONSTANT;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment