Java Programming Language

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • oshna1985
    New Member
    • Jul 2006
    • 4

    Java Programming Language

    I have a presentation on 5th of August, 2006......so please answer my question as soon as possible....

    my question is....

    How is Java Programming Language
    • Architectural neutral
    • Distributed
    • Interpreted
    • Robust

    and has
    • High Peformance


    please give relevant answers...

    thank you...
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    • Architectural neutral
      Since a Java program runs on Java Virtual machine it can run on any platform that has had a Java Virtual machine ported to it. Thus the program it self is independent of the computer architecure it runs on.
    • Distributed
      Not sure but this basically means that different parts of a system are not necessarily running on the same machine and Java was developed with that architecture in mind.
    • Interpreted
      Because the Java program runs on a Java Virtual machine it is not in the native machine code of whatever platform it happens to be running on. The virtual machine interprets the program and runs the correct instructions for the current platform.
    • Robust
      Java has many inbuilt safe guards to prevent a malisously written program from harming the machine it is running including things like sandboxing where the virtual machine is not allowed to access resources outside it's own sandbox. Also the Java language uses a garbage disposal system so that it garthers up used memory and returns it to the free memory pool (I have forgotten the correct name for this)
    • High Peformance
      I would question this, Java is not bad performance but in many instances low level bits of a high performance system have to be written in a more powerful language (like C or C++) which because they are not interpreted are higher performance. Of course because they use native machine code they are not portable without recompilation. Java is better performance than a scripted language like Javascript because it is compiled to byte code which is easier for the interpreter to handle thean the text of a scripted language.

    Comment

    Working...