Difference between java and javascript
Java and javascript are absolutely different both by concept
and design. Javascript has nothing to do with java.
In early days,
Livewire is the nick named of javascript, then it is named LiveScript when it was created by
NetScape.
Facts says that it was called ECMAscript but it was renamed when
Netscape passed it to the ECMA for more standard purpose.
Moreover, javascript is a client side, interpreted, object oriented, high level scripting language.
While java is
a client side, complied, object oriented, high level language.
Understanding
terminology
Client side:-Program is passed to the computer and computer uses
browser to run them.
Server side:- Program run on the server and only result is
passes to computer, which is also known when browser is on. For example php, jsp,
asp, perl etc.
Interpreted:-The program source code is passed then all
programing language is visible. It is
then converted into machine code. Java is dual half complied i.e. complied to
the ‘byte code’, then executed in the virtual machine which convert it into
almost complied code, inorder to execute in computer’s processor.
Scripting:- Scripting language are used for performing
repetitive tasks. They donot handle complex program such as thread and memory
management. They also donot create their own user interfaces instead rely on
the program to create an interface for them. For example javascript.
No comments:
Post a Comment