Thursday, June 22, 2017

Java-Features of java

Features  of java
-----------------
0)opensource:
    java is open source ,we can use java s/w for free of cost.

i)Platform independent
----------------------
*java is platform independent because we can execute .class[bytecode] of one os on any other os.

2)Object Oreinted
-----------------
Java is object oriented because it consists of objects and classes.

3)Portable
----------
*Bothe java s/w and java bytecode can be executed on different os's so java is portable.


4)simple
--------
Java is developed from c and c++,so learning java is simple.

5)robust[strong)
---------------
*Java programs do not crash easily because of exception handling mechanism so java is robust.

6)interpreted
--------------
As jvm interprets bytecode to machine code,java is called interpreted language.

7)secured
---------
Java is secured because virus don't attack .class files,also java is robust.

*No pointers in java.

*Java has both comiple time checks and run time checks

8)distributed
--------------
we can run java programs on different os's so we can say java is distributed.

9)Multithreaded
---------------
Thread
------
*Thread is an independent part of a program and a light weight process.

*Multithreading is group of threads executing parallely to accomplish a task.

No comments: