Is it good practice to have a main class with only the main method in Java, or should I organize my project better? #158666
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Body
I'm learning Java at university and have questions about the structure of my projects.
So far, I've done everything in the same class with the public static void main(String[] args), but it's starting to look messy.
What are some recommended best practices for better organizing the code?
Thanks!
Guidelines
Beta Was this translation helpful? Give feedback.
All reactions