yes there can be more than one main method in a single program but in different class.