Question: what is the main difference between java and javascript?
Answer: Here are the differences: The JavaScript programming language is developed by Netscape, Inc and not part of the Java platform. Java applications are run in a virtual machine or web browser while JavaScript is run on a web browser. Java code is compiled whereas while JavaScript code is in text and in a web page.