Created sample_for_edit.class and sample_for_edit.java files.
Edited & created .java file for sample.