If you really want to learn Java, I also suggest you think about why you want to learn it. Talk to people who are really trained and engaged in related work to see if they can achieve their expected goals.
If you have time and self-control, consider self-study first. There are many channels now. Benefits of self-study:
1. Learn more about the real IT industry, whether it is what you want.
2. It helps to evaluate whether you can persist.
3. Enhance your self-study ability, which is always needed to enter the industry.
4. If you insist on self-study until you work, that's good, save money and improve your ability;
Self-study difficulty:
1. Knowledge is broken, and it is difficult to find the key point.
2. The network information is overloaded, so it is difficult to identify the latest technology.
3. It is difficult to write your own code and modify it yourself.
4. Modern people generally have weak self-control, and it is easy to persist at first (including me).
The actual project needs teamwork, and it is difficult to finish it by yourself when you are just getting started.
If you can't insist on self-study, you can either sign up for class or give up. You have laid the foundation for self-study by signing up for classes, and you have tried to give up yourself. But the reality is that not many people can really insist on self-study in the primary stage.
If you choose a training mechanism instead of self-study, you must choose a reliable institution, which requires strict management, otherwise you may learn in vain and can only give so many suggestions. You still have to solve it by yourself, and you can understand and learn it well from the starting point ~