Computer Science, asked by Anonymous, 7 months ago

difference between java and javascript​

Answers

Answered by nehar1306
0

Answer:

  • 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.
  • JavaScript is an OOP scripting language, whereas Java is an OOP programming language.
  • The JavaScript programming language is developed by Netscape, Inc and not part of the Java platform.
  • Objects of Java are class based even we can’t make any program in java without creating a class. JavaScript Objects are prototype based.
  • Java program uses more memory. JavaScript requires less memory therefore it is used in web pages.

Similar questions