what is java language used for
1 Java is object-oriented, that is used to build modular programs and reusable code in other application. 2  Java is platform-independent and flexible in nature. 3  The most significant feature of Java is to run a program easily from one computer system to another. 4  Java works on distributed environment.