# How can we edit a java program?

Java programs are simple text-based programs and can be edited using any text editor like notepad etc. The filename should be same as class name.