Java learning can be done through self-study or training. As for whether it is worthwhile to spend 20 thousand yuan on java training, it is ultimately reflected in your employment.
If you have good logical thinking ability and good self-study ability and restraint ability, you can use self-study. If you can teach yourself, you don't need to spend more than 2 weeks training.
If you want to engage in java development, you can consider training. Training is to enable you to enter the IT industry more efficiently. High-quality training institutions will not only teach you the latest java technology, but also provide some employment guidance, such as interviewing and writing resumes.
The comprehensive suggestion is to watch java-related videos first, and learn by yourself if possible. Moreover, although the IT industry makes money, it is not suitable for everyone. See if you can learn.