Features Contd....
- Robust:
Robust simply means strong. Java uses strong memory management. There is lack of pointers that avoids a security problem. There is automatic garbage collection in java. There are exception handling and type checking mechanism in java. All these points make java robust.
- Architectural-neutral:
There is no implementation dependent features e.g. size of primitive types is set.
- Portable
We may carry the java bytecode to any platform.
- High – Performance
Java is faster than traditional interpretation since bytecode is "close" to native code still somewhat slower than a compiled language (e.g., C++)
- Distributed
We can create distributed applications in java. RMI and EJB are used for creating distributed applications. We may access files by calling the methods from any machine on the internet.
- Multi-Threaded
A thread is a separate program, executing concurrently. We can write Java programs that deal with many tasks at once by defining multiple threads. The main advantage of multi-threading is that it shares the same memory. Threads are important for multi- media, Web applications etc.
Tuesday, August 16, 2016
Unit 4: What are all the features of Java Programming Languages? Features Contd....
Subscribe to:
Post Comments (Atom)
No comments:
Write comments