I'm sorry for my question ...
As a result of compiling some file, say, myProga.java, within which three classes are registered (C1, C1 and C3), the output is three files with names, C1.class, C2.class and C3.class.
It bothers me, but what if the program will consist of several dozen classes? After all, then several dozen class files will be created. I think this is not the best way to create programs.
The only tool I have found so far is the use of packages. However, the mechanics of packages are such that it does not combine class files, but only pulls them away into subdirectories. In other words, as there were a huge number of files, it remained so.
What do I want? After the compilation, I would like to see one file as it is done in C / C ++. Well, or at least a few pieces. But not dozens scattered on subdirectories!
Perhaps I do not understand something. I am not a Java programmer, I am a Schnick. I'm only reading the java book for the fifth day.
Please give me a magic pendel in the right direction. Thank!
Build/Build Artifacts...). - StateItPrimitive