+ 2

What is the difference between Java and JavaScript?

Just started coding. Need tips.

13th Apr 2018, 11:26 PM
Joseph Bayote
Joseph Bayote - avatar
4 Réponses
+ 45
Java is an OOP programming language while javascript is a OOP scripting language. JavaScript is used to make web pages interactive and runs on clients computer/browser.  Java creates applications that run in a virtual machine or browser while html code is run on a browser. The JavaScript programming language, developed by Netscape, Inc., is not part of the Java platform. Java code needs to be compiled and javascript is a interpreted language so doesn't need to be compiled. java is used for creating application for desktop as well as websites. Java is used in the form of servlets, JSP(Java Server Pages), Java beans and many other frameworks in web development. Java can be used for handle connections to databases, manipulating data to be displayed etc. https://www.java.com/en/download/faq/java_javascript.xml
14th Apr 2018, 3:49 AM
Elizabeth🌸
Elizabeth🌸 - avatar
+ 3
Thanks.
13th Apr 2018, 11:45 PM
Joseph Bayote
Joseph Bayote - avatar
+ 2
java programmation language for apps desktop and java script for apps web
13th Apr 2018, 11:40 PM
before
+ 2
the similarities between java and javascript is same as the similarity between the words car and carpet. both the languages are cross platform, but java code runs in a JVM environment and javascript code runs in a browser or node.js. java code is first converted into byte code which later euns on jvm while node.js follows a JIT compilation.
15th Apr 2018, 10:01 AM
Dave
Dave - avatar