The class name is defined in the IDE when you create it. If you add an existing class, you can rename it.
When you first run your project, the class will be written to file and the class name is used as file name.
Each class can hold more than one "classes"
I have a class that I call "helper" were I have about 15 individual objects and/or methods, some needing initializing, other not. A class is just a container...