This is by far the major reason for java to stay alive and strong today. You can build android apps, software desktops apps by just learning one language. Java seems to be the most promising language in the new world of the Internet of Things (IoT) and is used by all the leading service providers like Google and Microsoft. Java is an object-oriented language, and most companies prefer people with a fair knowledge of the OOPs concept.
It is an ultra-fast language with a scalable platform that has adapted itself to the IT world. After Java 9, Oracle decided to adopt a new lifecycle for Java release, which guarantees new features and additions to the language.Java programming provides developers an extremely rich API to create graphical interfaces for the desktop, manage multithread programming, perform network operations, and access databases without any external code libraries. The recent launch of Java 14 bears witness to the evolution of the language.
I think these are all very big reasons for java to sustain and stay strong for such long. I personally was once so much critical of it, but now I understand that Java had and is doing so much in the current world, that no one can think about how the world would be if there is no Java.