Yes, .java is the file and a file contains a class. in every file there may be lots class but must have a main class.
At the beginning of my post, I have code several class but, don't know clearly how to pile all class together.
But, I I'm not clear about
Jeff Verdegan wrote:
kazi Shahin wrote:Still a bit confused.
Do you understand the difference between a class being in a file all by itself, and being in a file with other classes?