Question: 1 what is the difference between java and javascript?
Answer: 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.