Features of Java |
Features of Java
The features of Java are countless. The world does not know each and every feature of Java except the creator of Java, James Gosling. But I will try to cover most features of Java. Even if you know anything which is not shared below, you can approach me using the contact page and tell me about that.
- Object-Oriented
- Simple
- Architecture-Neutral
- Secure
- Dynamic
- Distributed
- Interpreted
- Multithreaded
- Robust
- Portable
- High Performance
- Platform Independent
Object-Oriented
Like C++ many other languages, Java is also an object-oriented programming language. Even C++ is semi object-oriented programming while Java is fully object-oriented programming. When I am writing about the features of Java. I can't miss the object-orientation feature in Java. This is the main advantage of Java. Everything we write in Java is inside the object/class. So here we can reuse the code easily. Object-Oriented programming is supporting the following features.
- Object
- Class
- Inheritance
- Polymorphism
- Abstraction
- Encapsulation
You will learn further about Object-Oriented programming in later chapters in this blog.
Simple
Yes, of course. Java is simple for those who really understand or want to understand the basic structures of programming languages. It looks difficult in some situations because it has many features to do anything to create anything to control anything So just because Java is good in that way, we can not say that Java is difficult.
Some important points
Some important points
- When I am writing about the features of Java. One thing I want to add in it. Java programming language is also easy to understand and easy to learn who already know C++ because most of the syntax of Java is as C++.
- Java does not use poor programming methods: operator overloading, header files, pointers, multiple inheritance, goto statements, structure, and it is a plus point for Java.
Architecture-Neutral
Before writing my list of features of Java. I have read many blogs that are trying to say that Java is architecture-neutral because, after compilation of code, it builds a bytecode/portable code/WORA code/class file. But this is not the reason. Because of it, we can say Java is Platform-Independent, not Architecture-Neutral.
Wait... Java is Architecture-Neutral because it creates the same bytes of memory for the 32bit system and 64bit system. Take windows as an example. It does not matter, you are using 32bit architecture version windows or 64bit architecture version windows. The Java program will work in both, the same ways.