What is Java?
A high-level general programming language, designed by James Gosling, was released in 1995 by Sun Microsystems. Now it is under the ownership of Oracle. Java supports the multi-paradigm that includes object-oriented approach, concurrent computing approach, structured approach, reflective approach, generic approach and imperative approach. A compiled code of Java to bytecode can be executed on any platform or OS that supports Java Virtual Machine regardless of architecture without recompiling the code. Java supports automatic management of memory by providing an automatic garbage collector. The programmer is responsible for creating objects, but Java runtime is responsible for recovering the memory that is no longer needed. Java supports loading the required classes on demand. It supports compile-time error checking. It does not support memory pointers.
Why we use Java?
Java is among the most popular programming languages. It can be used to develop web applications, scientific applications, enterprise applications, mobile applications, GUI applications for desktops, embedded systems, web servers and application servers. other platforms. Java can be used to develop graphical applications. It can be used to make applications that can run on a single computer or on distributed systems or in a client network. Java supports various levels of connectivity.
In mobiles applications, Java is used in Android apps. A famous Java framework Spring is based on Java language which is used to develop web applications. Hadoop is a Java implementation that uses Map Reduce programming model for distributed storage and processing of big data.