Java is rapidly declining in popularity...why would you advise learning a dying programming language?
I’m just a few years away from retiring once I hit mid 40s so even in the unlikely event I get laid off anytime soon, I will be just fine. That said, I took Java in high school and college, as well as C++ and visual basic and made a few websites a long time ago and plan to do a travel/person finance blog in retirement so I may indeed brush up on programming languages (plus want to brush up on Spanish).