CC in java