public class LCOM4WithIsolatedMethods { public void myUnsupportedMethod(){ throw new UnsupportedOperationException("..."); } public String myConstantValue() { return "..."; } }