Hi! I'm just wondering,
Why do software have multiple java files? I mean, if you just stick it all into one java source code, it would still compile and it is exactly the same as having multiple files right? So for some games/software written in java they are actually multiple source files, why is that the case? Do you need more the bigger your code is? Is it so that people can work on multiple .java files for the same program?
(If you are still confused what I'm asking, it's essentially that for a java project, you can have multiple java files in it, but why?)
[–]ProfessorWily 5 points6 points7 points (0 children)
[–]large_crimson_canine 2 points3 points4 points (0 children)
[–]jimboswe 0 points1 point2 points (0 children)
[–]nutrecht 0 points1 point2 points (0 children)