difference between java and javascript
Answers
Java is a programing language and is used to make android applications
JavaScript is a scripting language and is used to make web applications
Answer:
Pls mark as brilliant
Difference between Java and JavaScript :
Java is strongly typed language and variable must be declare first to use in program.In Java the type of a variable is checked at compile-time.
JavaScript is weakly typed language and have more relaxed syntax and rules.
Java is an object oriented programming language.
JavaScript is an object based scripting language.
Java applications can run in any virtual machine(JVM) or browser.
JavaScript code used to run only in browser, but now it can run on server via Node.js.
Objects of Java are class based even we can’t make any program in java without creating a class.
JavaScript Objects are prototype based.