Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.