
- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What is the difference between Java and JavaScript?
JavaScript
JavaScript is a dynamic computer programming language. It is lightweight and most commonly used as a part of web pages, whose implementations allow a client-side script to interact with the user and make dynamic pages.
JavaScript do not create stand-alone applications. JavaScript is implemented using JavaScript statements that are placed within the <script>... </script>.
Java
Java programming language was originally developed by Sun Microsystems which was initiated by James Gosling and released in 1995 as a core component of Sun Microsystems' Java platform (Java 1.0 [J2SE]).
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.
- JavaScript is an OOP scripting language, whereas Java is an OOP programming language.
- Related Questions & Answers
- What is the difference between jQuery and JavaScript?
- What is the difference between JavaScript and C++?
- What is the difference between JavaScript and ECMAScript?
- What is the difference between == and === in JavaScript?
- What is the difference between Java and Core Java?
- What is the difference between Java and Java EE
- What is the difference between comments /*...*/ and /**...*/ in JavaScript?
- What is the difference between /* */ and /** */ comments in Java?
- What is the difference between JavaScript frameworks?
- Difference between Java and JavaScript.
- What is the difference between window.onload and document.onload in Javascript?
- What is the difference between Bower and npm in JavaScript?
- What is the difference between call and apply in JavaScript?
- What is the difference between null and undefined in JavaScript?
- What is the difference between a++ and ++a in JavaScript?
Advertisements