------------------------------------------ package com.name; interface XYZ { public static final double Constant1 = someValue; public static final double Constant2 = anotherValue; } ------------------------------------------ import static com.name.XYZ.*; public class MyClass { ... double value = 2 * Constant1; ... }