javascript1

Thursday, 12 February 2015

Simple and easy to learn


Java is a very simple language because it`s syntax is same just like as c and c++
Pointer is not used in java which makes java very simple
In java automatic garbage collection so that there is no need to remove object which are not in used .
     

Object-oriented programming language


Java is Object-oriented  programming language . Object-oriented  means  we can create our application in different modules and then combine each other.  Different module is developed using classes .
Basic concept of OOPs are:
1   1 .    Object
2.    Class
3.    Inheritance
4.    Polymorphism
5.    Abstraction
6.    Encapsulation

Platform Independent

Platform Independent  means application developed in java operate on every platform like on window  , linux , mac etc .
Java is  Platform Independent  because it works on the concept of byte code which is not specific to any operating system .  byte code is interpreted by jvm .



Secured

Java more  secured because:
1.    Ponter are not used in java
2.    Java enable us to develop virus free software


If we compare java and c++ then only difference is in java there is jvm between application and operating system which protect local file system from web access 

Architecture-neutral

Architecture-neutral means java program is not dependent  on hardware or software  . java progam written on any plaftform will be work on every platform .    


Portable

Portable means we can deploy a application from one platform to other platform . let us take example of  bank application is degined for unix operating system and now operating system chaged from unix to window now we can easily port it from unix to window .


High-performance

Java is faster  because it operate on byte code which is close to machine code . 
In c++ compiler convert it into machine code so it is slow as compare to java . 


Distributed


RMI and EJB are used for developing  distributed applications. 


Multi-threaded


A thread is a light weight process because it execute the program in parts and a;so use the shared memor location . because it use the shared memory location which increase it`s performance .Threads are very usefull  for multi-media or animated application , Web applications etc.


No comments:

Post a Comment