C and C++ are still the main languages of many operating systems, browsers and video games. C++ has imperative, object-oriented and general programming functions and is widely used for software development. As a mid-level language, it has an advantage when writing low-level applications (drivers, cores) and higher-level applications (games, GUI, desktop applications, etc.). Most of the chips present inside smart devices are programmed with C or C++, providing optimal performance. C++ is used on platforms such as Windows, Linux, Unix, Mac.
The C++ language, around which all modern programming languages revolve, was developed as an improvement of the C language and is one of the most used languages in the history of computer science.
Java is incredibly popular for features that make it one of the most stable, complete and reliable languages for building complex systems - for example, LinkedIn is written in Java. This allows developers to create code that runs on any system, regardless of architecture or platform. According to Oracle, Java-based applications are installed on more than 7 billion devices!
Java is adaptive and platform independent, used in all types of applications, such as mobile applications (Android is based on Java), desktop applications, web applications, client-server applications, enterprise applications and many others. Java is not considered a purely object-oriented language, since it provides support for primitive data types (for example, int, char, etc.).
Despite being over 30 years old, Java is still one of the most reliable and widely used programming languages.