Java is a class-based, object-oriented language. Once written, Java code can run on all Java-supporting platforms. E.g., Java will work on both web and mobile applications, eliminating the need to rewrite the code. It's currently one of the most popular languages for Android devices and websites.