Java is simple language :
Java is simple as it don't contain operator overloading, pointers, virtual functions, multiple inheritance (as it causes ambiguity) like in c++. It is easy to learn as compared to c++.
Java is object oriented :
Every thing in java is class and object, event main method in java is need to write in class.
Platform independent :
we can compile code on any machine and we can run the compiled code on any other machine having different Operating System. To support this feature java provide platform dependent JVM.
Java is secure:
Java compile the source code into byte code, byte codes get executed by JVM. JVM internally provides the security.
Robust :
Java is robust because of it handle the memory management and garbage collection and provide the way to handle exceptions using the exception handling.
Memory management and garbage collection : No need to destroy the created object java it self destroy the object using the garbage collection.
Exception handling : The run time exceptions in java can be handled using the exception handling.
Multithreaded :
Multithreading feature is used to run multiple task simultaneously. Java has provided its own class and interfaces to create threads. This feature is used in gaming application, servlet etc.
Extensible :
Java has its set of library which contain class and interfaces. To add more new features it add new classes and interfaces into exiting library.
No comments:
Post a Comment