Difference Between Java And JavaScript
Sign in

Difference between Java and JavaScript

Description :

People having very little programming knowledge and even with little knowledge gets confused between Java and JavaScript. Java and JavaScript are not same.

Java is object oriented Programming language developed by Sun Microsystems.

 

Java is Programming language which could help build small and large application.

  • Java applets can help create small application which could be embedded to web page. This could help create additional features on website.
  • Codes can be executed remotely
  • Could handle different platforms.

JavaScript is developed by Netscape, it cannot build complete applications but it is used in HTML pages and increases the interactivity of HTML pages to a greater extend.

  • There are server side and client-side JavaScripts
  • Server-Side handles requirements/request from the customer, it also manages connectivity to database.
  • JavaScript embedded web pages requires browser to be JavaScript enabled.
  • JavaScript could be written in Note pad or word pad or text editor.
  • JavaScript files are stored with “.js” extension.

 

If you know HTML, it is easy to figure out JavaScript. But Java requires knowledge of C and C++. Though there are similarities between many syntax and vocabulary, both are different language and used for different purposes.

start_blog_img