There is given many features of java. They are also called java buzzwords.
1.Simple:
syntax is based on C++ (so easier for programmers to learn it after C++). |
|
2.Object-oriented:
Object-oriented programming(OOPs) is a methodology that simplify software development and maintenance by providing some rules. |
Basic concepts of OOPs are: |
- Object
- Class
- Inheritance
- Polymorphism
- Abstraction
- Encapsulation
|
|
3.Platform independent:
The Java platform differs from most other platforms in the sense that it's a software-based platform that runs on top of other hardware-based platforms.It has two components:
- Runtime Environment
- API(Application Programming Interface)
|
|
4.Secured:
Java is secured because: |
- No explicit pointer
- Programs run inside virtual machine sandbox.
|
|
5.Robust:
Robust simply means strong. Java uses strong memory management. There are lack of pointers that avoids security problem. There is automatic garbage collection in java. There is exception handling and type checking mechanism in java. All these points makes java robust. |
|
6.Architecture neutral:
There is no implementation dependent features e.g. size of primitive types is set. |
|
7.Portable:
We may carry the java bytecode to any platform. |
|
8.High Performance:
Java is faster than traditional interpretation since byte code is "close" to native code still somewhat slower than a compiled language (e.g., C++). |
|
9.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. |
|
10.Multithreaded:
A thread is like 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. |
|
|
|
No comments:
Post a Comment