What are the characteristics of Java as a programming language? Features of Java language are as follows.
The grammar is simple.
Java provides easy syntax and many features. Easy grammar can minimize the complexity of the program due to the complexity of the grammar.
And Java has boldly removed the notion of a pointer, which is a powerful advantage of existing C and C ++, but a problem. In Java, Garbage collector is dedicated to memory management and allows programmers to focus on programming logic without worrying about memory.
Java has strong portability.
The Java source code that you write once can run on various operating systems. That is, The independence of the platform is the most important advantage.
Of course, for platform independence, each operating system must have a Java Virtual Machine(JVM) installed. In recent years, however, most operating systems have a built-in JVM.
Java use an internal pointer.
Java uses a reference object instead of a pointer variable(int *, char *, etc.).
When you allocate memory for a reference object, it allocates memory dynamically to the heap region first. Therefore, the pointer can not be changed at will.
In Java, pointers are not directly usable, so they are high security and sefety.
Java is a complete object-oriented language.
Java supports the structural programming techniques used in the existing C language and implements object orientation through concepts such as class, abstraction, encapsulation, polymorphism, and inheritance.
Multithreaded programming is possible.
Java is programmable to allow multiple threads to run concurrently within a process.
Creating a concurrent thread allows parallel processing. Parallel processing can handle complex, high-volume tasks in a short amount of time. Java supports multi-threaded programming in its API, so parallel programming is relatively easy.
You can create various applications.
Java can write applications that work in most IT environments, such as:
- Desktop applications running on the desktop computer
- JSP(Java Server pages) or servlets running on the web server
- Embedded program that works on home appliances such as TV and refrigerator.
- Mobile apps running on Android smartphones or tablets
There are a number of open source libraries in the Java ecosystem.
Java can use a variety of external open source libraries.
Java provides an open source library through a number of projects, making it easy for anyone to use the advanced features you want to implement. And various open source projects are systematically managed and upgraded through the community.
Typical open source library projects include Apache Commons, Google Guava, Lucene, Spring, Hadoop, and Cassandra etc.