JAVA and JAVA SCRIPT

JAVA:
It is an object-oriented programming language.It has been derived from C++.SUN Micro System Inc.has developed this language recently.This language is suitable for internet,desktop computers,servers,microcontrollers,etc.Internet software and application program are being written in JAVA.Application programs for a network of heterogeneous computers can easily be written in JAVA.Application programs written in JAVA  can run on any platform i.e.on any computer built around the CPU of any company.Here,question arises how JAVA achieves machine independence.It is achieved using Java Virtual Machine.The Java Virtual Machine is not a real machine.It is a simulated computer which resides in a computer's memory.It performs all major functions of a real machine.java programs are translated by Java compiler into machine codes,which are acceptable to Java Virtual Machine.These machine goes to a Java interpreter which produces machine codes for the computer on which Java programs are running.
JAVA SCRIPT: 
It is a scripting language.It is written in Java language.It is used to develop application program using applets.Applets are small Java application programs.A scripting language assumes that a collection of useful programs,each performing a task,is available.It can combine these programs to make a complex program.The new complex program can perform a complex task.

No comments:

Post a Comment

Analysis of Discrete-time Linear-Invariant Systems

we shall demonstrate that such systems are characterized in the time domain simply by their response to a unit sample sequence.we shall als...