this is a simple class which is responsible for java program