As the names are very similar it is easy to think that they are the same. Yet, they are not the same! So it may be interesting to point out this common misconception - JavaScript is often mixed up with Java.
But JavaScript is a scripting language. The JavaScript code is generally run on a browser and it is entirely in text. It basically resides in HTML documents, within web pages, and even in some video games. It either provides additional features in a webpage or it may also be used to create an application within the web page itself. It is thus included in all the latest browsers.
On the other hand Java is an OOP language which is used to create applications which can then be run on a browser or on virtual machines. Java is probably the most widely used and influential programming language around. Java is for applications that are run from a computer desktop or which are being initiated through a webpage.
They also need different plug-ins.
I am not an expert at this so if you could elaborate more on these differences between Java and JavaScript it would be appreciated.
But JavaScript is a scripting language. The JavaScript code is generally run on a browser and it is entirely in text. It basically resides in HTML documents, within web pages, and even in some video games. It either provides additional features in a webpage or it may also be used to create an application within the web page itself. It is thus included in all the latest browsers.
On the other hand Java is an OOP language which is used to create applications which can then be run on a browser or on virtual machines. Java is probably the most widely used and influential programming language around. Java is for applications that are run from a computer desktop or which are being initiated through a webpage.
They also need different plug-ins.
I am not an expert at this so if you could elaborate more on these differences between Java and JavaScript it would be appreciated.


