Difference between JavaScript and Java
#1
Posted 30 October 2012 - 07:50 PM
JavaScript, doesn’t create stand-alone applications and applets. JavaScript is placed inside HTML documents, to provide interactivity levels to web pages that cant be achieved with the simple HTML.
A number of differences between Java and JavaScript are listed below
•Java is a programming language while Java Script is a scripting language.
•Java creates applications that run in a browser or virtual machine but JavaScript code runs on browsers.
•JavaScript code is all in text and doesn’t need to be compiled while Java code needs to be compiled.
•Java and JavaScript require different plug-ins.
- lalelemu likes this
#2
Posted 21 January 2015 - 04:24 AM
Java is a programming language designed to run applets in a Java Virtual Machine on any computer/device that supports a Java Virtual Machine. Java applets generally do not interact with the Web page itself, but usually runs as a "standalone" program embedded in a Web page. ParaChat software offers a Java applet option so you can embed a Java chat room in your web page.
JavaScript (originally known as "LiveScript") is a scripting language that runs inside of an Internet browser to manipulate and enhance the contents of Web pages. JavaScript is designed to expand the capabilities of a web page so that it behaves more like a program than just a static page of text and images.
- lalelemu likes this
#3
Posted 10 April 2017 - 06:56 AM
JavaScript is an object-oriented scripting language that allows you to create dynamic HTML pages, allowing you to process input data and maintain data, usually within the browser.
Java is a programming language, core set of libraries, and virtual machine platform that allows you to create compiled programs that run on nearly every platform, without distribution of source code in its raw form or recompilation. More on....Java and Javascript
Rino
- lalelemu likes this
#5
Posted 15 June 2017 - 10:17 AM
Difference:
- Java is an OOP programming language while JavaScript is an OOP scripting language.
- In Java, there are classes, and instances, as separate concepts. But In Javascript, does not use classes. In JavaScript, you don't define classes and create objects from these classes.
- Java and Javascript are similar like Car and Carpet are similar.
- lalelemu likes this
#6
Posted 10 October 2019 - 10:04 AM
Java code must be compiled, and JavaScript code is all-text. ... JavaScript code is run on a browser only, while Java creates applications that run in a virtual machine or browser.
Java is an OOP (object-oriented programming) language, and JavaScript is specifically an OOP scripting language.
#7
Posted 02 April 2021 - 12:38 AM
The main difference between are
JavaScript can be used to do neat things like creating animation in HTML and JavaScript code is run on a browser only, while Java creates applications that run in a virtual machine or browser. Java is an OOP (object-oriented programming) language, and JavaScript is specifically an OOP scripting language.
Also tagged with one or more of these keywords: difference, java, javascript
General chat →
The Hangout →
Do the CH knows abt difefrence in RGB & CMYK ?Started by dbb201, 23 Nov 2013 cmyk, difference, intimation, rgb |
|
|
||
Web Design →
Javascript →
Comparing Strings in JavaScriptStarted by Salwa, 18 Jul 2013 comparing strings, javascript |
|
|
||
Web Design →
Javascript →
Using OnSubmit in JavaScriptStarted by Salwa, 18 Jul 2013 javascript, onsubmit event |
|
|
||
Web Design →
Javascript →
Downloading Javascript to iPodStarted by OneDes, 13 Jun 2013 downloading, javascript, to ipod |
|
|
||
Web Design →
Javascript →
Downloading JavaScript to BlackBerryStarted by OneDes, 13 Jun 2013 downloading, javascript and 1 more... |
|
|
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users