Java Features?

Need help with C, C++, perl, python, etc?

Java Features?

Postby ArjunKumar » 2019-08-01 05:37

Hello All, I want to know the most important features of Java like benefits of Java, Why is Java so popular, Multi-threaded, etc. I am looking to depth information about all these features. If anyone knows more information about the above features, Please explain me. :|
Posts: 1
Joined: 2019-08-01 05:22

Re: Java Features?

Postby rohanjoshi0894 » 2019-08-07 04:19

I thought after this answer you need not any answer which you are looking from:

1. Java is Simple:
The Java programming language is easy to learn. Java code is easy to read and write.

2. Java is Familiar:
Java is similar to C/C++ but it removes the drawbacks and complexities of C/C++ like pointers and multiple inheritances. So if you have a background in C/C++, you will find Java familiar and easy to learn.

3. Java is an Object-Oriented programming language:
Unlike C++ which is semi object-oriented, Java is a fully object-oriented programming language. It has all OOP features such as abstraction, encapsulation, inheritance, and polymorphism.

4. Java supports Functional programming:
Since Java SE version 8 (JDK 8), Java is updated with functional programming features like functional interfaces and Lambda Expressions. This increases the flexibility of Java.

5. Java is Robust:
With automatic garbage collection and simple memory management model (no pointers like C/C++), plus language features like generics, try-with-resources,… Java guides programmer toward reliable programming habits for creating highly reliable applications.

6. Java is Secure:
The Java platform is designed with security features built into the language and runtime system such as static type-checking at compile time and runtime checking (security manager), which let you create applications that can’t be invaded from outside. You never hear about viruses attacking Java applications.

7. Java is High Performance:
Java code is compiled into bytecode which is highly optimized by the Java compiler so that the Java virtual machine (JVM) can execute Java applications at full speed. In addition, compute-intensive code can be re-written in native code and interfaced with Java platform via Java Native Interface (JNI) thus improve the performance.

8. Java is Multithreaded:
The Java platform is designed with multithreading capabilities built into the language. That means you can build applications with many concurrent threads of activity, resulting in highly interactive and responsive applications.

9. Java is Platform Independence:
Java code is compiled into an intermediate format (bytecode), which can be executed on any systems for which Java virtual machine is ported. That means you can write a Java program once and run it on Windows, Mac, Linux or Solaris without re-compiling. Thus the slogan “Write once, run anywhere” of Java.

Besides the above features, programmers can benefit from a strong and vibrant Java ecosystem:

    Java is powered by Oracle - one of the leaders in the industry. Java also gets enormous support from big technology companies like IBM, Google, Redhat,… so it has been always evolving over the years.
    There are a lot of open-source libraries which you can choose for building your applications.
    There are many superior tools and IDEs that make your Java development easier.
    There are many frameworks that help you build highly reliable applications quickly.
    The community around Java technology is very big and mature so that you can get support easily.

To know more about why java is so popular click here.
Posts: 1
Joined: 2019-08-07 04:15

Return to Programming

Who is online

Users browsing this forum: No registered users and 4 guests