Features of Java

Java is  simple  and  familiar   program  language:-

learning and practicing java  is easy because it contains many features of c and c++. Java is  simple language    it  doesn’t   use pointers, pre processors  header files, go to  statement,  operator  over loading and  multiple  inheritance.

Java language  look familiar  to the existing  programmers. It  was modeled  on  c  and c++  languages. Java  is  a simplified  version  of  c+ +.

Robust :-

Robust  simply means  strong. Java  uses  strong  memory  management features. (there   are lack  of  pointers  that  avoids  security  problems). There  is  automatic  garbage  collection   in  java .There  is exception  handling  & type checking   mechanism  in  java. All these  points  makes java  robust.

Compiled  &  interpreted :-

Usually  a  computer language  is  either compiled  or  interpreted. Java  combines  both  these  approaches   thus  making  java  a  two  stage  system.

First , java compiler  translates  source code  in to  what  is  known as  byte code  instructions.

Byte codes  are  not  machine  instructions and there fore , in the  second  state,  java  interpreter  generates  machine  code  that can  be  directly executed  by the machine that is  running  the  java  program.

Platform –independent  (or)  Architecture  Neutral: -

Write  once  and  run away  where  is  the  slogan  for  java. java’s  byte code  is not machine  dependent .in  can  be run  on  away  machine  with  any  processor  and   with  any  operating system.

i.e java program once compiled  can  be  executed  on   any  machine  i.e java enabled.

Object oriented :- 

Java  is true  object oriented Language. Almost    everything  in  java  is  an   object.  all program code and data  reside  within  objects  and classes.

Java comes  with  an  extensive  set  of  classes, arranged  in  packages, that we can use  in our programs  by  inheritance.

Portable:-

The most  significant  contribution  of  java  over  other languages  is  its  portability . java programs  can be  easily moved  from  one  computer  system  to  another  and  give same results on  all machines.

This   is  the  reason  why  java has become  a  popular  language  for programming   on  internet  which  inter connects  different kinds   of  systems   world wide.

Java  ensures   portability  in two ways. First  java  compiler   generates  byte code  instructions  that  can be  implanted  on  any  machine.

Secondly,  the  size  of   the   primitive   data types  are  machine- independent.

Secure:-

Security becomes  an  important – issue  for  a  language  that  is used  for  programming  on  internet.  Java  provides  secure  way   to  access   web applications.

Java  systems  not  only  verify all  memory  access  but  also ensure  that  no  viruses  are  communicated  with   an  applet.

The  absence  of pointers  in java  ensures  that  programs  can not gain  access   to  memory  locations with out proper  authorization.

Distributed:-

Java  is  designed   as  a  distributed  language for  creating  applications on network.  It  has  the  ability  to share  both data and programs.

Java  applications  can open and  access  remote   objects   on internet  as  easily  as  they  can  do  in  a  local system.  This   ensures  multiple  programmers  at multiple  remote  locations to  collaborate  and Work   together on a  single project.

Multi threaded:-

Java  supports  multi-threaded  programs.  A  thread  is   a   small program (or) process  in execution. Multi-threaded    means  handling   multiple  tasks  simultaneously .

Different  parts of  an  application can be  in  execution  at  the  same time .this   is  an  essential  feature  to  design   server  side programs.

We need  not  wait  for  the  applications  to  finish  one  task  before  beginning   another.

 High  performance :-

Java  performance  is  impressive  for  an  interpreted  language.  A  long with  interpreters,  there  will be jit  compiler  (just  in time)  which enhances  the speed  of  execution.

Further,  the  incorporation  of  multi-threading  enhances  the  overall  execution speed  of  java programs.

Byte  codes  are  highly  optimized.   Jvm  can  executed  very faster.

Dynamic  &  extensible:-

Java  is  a  dynamic  language.  We  can  develop  programs  in  java which  dynamically  interact   with  the  users  on internet. (ex. Applets).

Java  is  capable of dynamically  linking  in new  class   libraries, methods  & objects.

Java  programs  support   functions  written  in  other  languages  such  as  c and c++.. These  functions are known  as   native  methods. native  methods  are  linked dynamically  at  run time. Java  is  object oriented. So it allows  for run  time  extensibility.

Related

Java 5492325154649352930

Post a Comment

emo-but-icon
:noprob:
:smile:
:shy:
:trope:
:sneered:
:happy:
:escort:
:rapt:
:love:
:heart:
:angry:
:hate:
:sad:
:sigh:
:disappointed:
:cry:
:fear:
:surprise:
:unbelieve:
:shit:
:like:
:dislike:
:clap:
:cuff:
:fist:
:ok:
:file:
:link:
:place:
:contact:

item