+ 2

What is the main difference between Java and JavaScript?

I want to start java, but first i want to know the main diffeence between Java and JS.

3rd Apr 2018, 10:28 PM
Awesomeman 222
Awesomeman 222 - avatar
3 Answers
+ 1
The main difference is that Java is a compiled language.
3rd Apr 2018, 10:49 PM
Bebida Roja
Bebida Roja - avatar
+ 1
The JavaScript programming language, developed by Netscape, Inc., is not part of the Java platform. JavaScript does not create applets or stand-alone applications. In its most common form, JavaScript resides inside HTML documents, and can provide levels of interactivity to web pages that are not achievable with simple HTML. Key differences between Java and JavaScript: -Java is an OOP programming language while Java Script is an OOP scripting language. -Java creates applications that run in a virtual machine or browser while JavaScript code is run on a browser only. -Java code needs to be compiled while JavaScript code are all in text. -They require different plug-ins. see here in details: - http://crbtech.in/Java-Training/9-distinguishing-factors-javascript-java/
4th Apr 2018, 7:10 AM
pranit patil
pranit patil - avatar
0
Java - Statically and strongly typed - Is a compiled language - Is heavily object oriented - Used in many fields, mainly enterprise Javascript - Dynamically and weakly typed - Interpreted language - Doesn’t have classes - Used primarily on the web but also on desktop applications with frameworks If you don’t know what any of these terms mean google them.
4th Apr 2018, 2:35 AM
TurtleShell
TurtleShell - avatar