Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #26475

[For Beginners)Difference between Java and JavaScript

Newsgroups comp.lang.java.programmer
Date 2013-11-07 05:38 -0800
Message-ID <ccd3d4f8-3f38-4998-9cf4-d02917c80c94@googlegroups.com> (permalink)
Subject [For Beginners)Difference between Java and JavaScript
From Boni Satani <bonirulzz@gmail.com>

Show all headers | View raw


If you’re a computer user, you might have heard about Java and JavaScript. While most of the people assume that there is no difference between Java and JavaScript, in reality they are totally different from each other. Many beginner programmers often get confused and mix up both Java & JavaScript. However, it is important to note the evolution of both of these languages took a totally different path. Are you reading this article to get your doubt clear? If yes, it is time to compare both of these languages and know what exactly makes these two similar looking languages differ from each other. 


Java:
One of the key differences between both of these languages is that Java is a programming language, which is based on the C language. It derives most of its syntax from C and C++ language. Java can stand on its own while JavaScript must be used in consort with the HTML (Hyper Text Markup) document to function appropriately.

Java was created first before JavaScript, which means Java was an inspiration behind the creation of JavaScript.

JavaScript:
On the other hand, JavaScript is nothing but an interpreted programming language; it is a scripting language that is dynamic and weakly typed with a whole host of first class functions. It is created by Netscape and it can’t create stand alone applications like Java, but resides on the internet browser. Most of the modern web browsers have inbuilt JavaScript. However, it is important to note that JavaScript based web pages can run only when you’ve JavaScript enabled within your web browser.
 
Okay, but what is the major difference between both of these programming languages apart from their concept? Let’s explore it!

Read More - http://www.socialpositives.com/2013/10/difference-between-java-and-javascript/

Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[For Beginners)Difference between Java and JavaScript Boni Satani <bonirulzz@gmail.com> - 2013-11-07 05:38 -0800
  Re: [For Beginners)Difference between Java and JavaScript Joerg Meier <joergmmeier@arcor.de> - 2013-11-07 20:35 +0100
    Re: [For Beginners)Difference between Java and JavaScript markspace <markspace@nospam.nospam> - 2013-11-07 13:44 -0800
      Re: [For Beginners)Difference between Java and JavaScript Joerg Meier <joergmmeier@arcor.de> - 2013-11-07 23:06 +0100
  Re: [For Beginners)Difference between Java and JavaScript 1connu <1connu999@gmail.com> - 2013-11-18 17:00 +0100

csiph-web