Create c4.java

This class will insert your selected and inserted values in database automatically.