If I have class1, class2 and class3, and main () is written in class3.... Why should I use the file name of the class1 to complite the program. Why cannot I use the file name of the class that contains the main()?
consider that I wrote the code in the same sequence
main() is here;
I can compile if the file name is somename1. Why cannot I use the somename3 to compile the program?