Characteristics of Java
Java is simple
Java is partially modeled on C++, but greatly simplified and improved. Some people refer to Java as "C++--" because it is like C++ but with more functionality and fewer negative aspects.
Java is Object- Oriented
Distributed computing involves several computers working together on a network. Java is designed to make distributed computing easy. Since networking capability is inherently integrated into Java, writing network programs is like sending and receiving data to and from a file.
Java Is Robust
You need an interpreter to run Java programs. The programs are compiled into the Java Virtual Machine code called bytecode. The bytecode is machine-independent and can run on any machine that has a Java interpreter, which is part of the Java Virtual Machine (JVM).
Java Is Secure
Java implements several security mechanisms to protect your system against harm caused by stray programs.
Java Is Architecture-Neutral
Write once, run anywhere
With a Java Virtual Machine (JVM), you can write one program that will run on any platform.
Java Is Portable
Because Java is architecture neutral, Java programs are portable. They can be run on any platform without being recompiled.
Java's Performance
Java’s performance Because Java is architecture neutral, Java programs are portable. They can be run on any platform without being recompiled.
Java Is Multithreaded
Multithread programming is smoothly integrated in Java, whereas in other languages you have to call procedures specific to the operating system to enable multithreading.
Java Is Dynamic
Java was designed to adapt to an evolving environment. New code can be loaded on the fly without recompilation. There is no need for developers to create, and for users to install, major new software versions. New features can be incorporated transparently as needed.
Java is partially modeled on C++, but greatly simplified and improved. Some people refer to Java as "C++--" because it is like C++ but with more functionality and fewer negative aspects.
Java is Object- Oriented
- Java is inherently object-oriented. Although many object-oriented languages began strictly as procedural languages, Java was designed from the start to be object-oriented. Object-oriented programming (OOP) is a popular programming approach that is replacing traditional procedural programming techniques.
- One of the central issues in software development is how to reuse code. Object-oriented programming provides great flexibility, modularity, clarity, and reusability through encapsulation, inheritance, and polymorphism.
Distributed computing involves several computers working together on a network. Java is designed to make distributed computing easy. Since networking capability is inherently integrated into Java, writing network programs is like sending and receiving data to and from a file.
Java Is Robust
- Java compilers can detect many problems that would first show up at execution time in other languages.
- Java has eliminated certain types of error-prone programming constructs found in other languages.
- Java has a runtime exception-handling feature to provide programming support for robustness.
You need an interpreter to run Java programs. The programs are compiled into the Java Virtual Machine code called bytecode. The bytecode is machine-independent and can run on any machine that has a Java interpreter, which is part of the Java Virtual Machine (JVM).
Java Is Secure
Java implements several security mechanisms to protect your system against harm caused by stray programs.
Java Is Architecture-Neutral
Write once, run anywhere
With a Java Virtual Machine (JVM), you can write one program that will run on any platform.
Java Is Portable
Because Java is architecture neutral, Java programs are portable. They can be run on any platform without being recompiled.
Java's Performance
Java’s performance Because Java is architecture neutral, Java programs are portable. They can be run on any platform without being recompiled.
Java Is Multithreaded
Multithread programming is smoothly integrated in Java, whereas in other languages you have to call procedures specific to the operating system to enable multithreading.
Java Is Dynamic
Java was designed to adapt to an evolving environment. New code can be loaded on the fly without recompilation. There is no need for developers to create, and for users to install, major new software versions. New features can be incorporated transparently as needed.