1: /** 2: Class of static methods to perform dimension conversions. 3: */ 4: public class DimensionConverter 5: { 6: public static final int INCHES_PER_FOOT = 12; 7: 8: public static double convertFeetToInches(double feet) 9: { 10: return feet * INCHES_PER_FOOT; 11: } 13: public static double convertInchesToFeet(double inches) 14: { 15: return inches / INCHES_PER_FOOT; 16: } 17: }