• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

(For beginners) Learn the Difference between java and javascript

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Note: Its pretty easy topic but thought to share it with the community. @admin - please remove it if unnecessary, but yeah its ma guest post :P

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.

Read More - http://www.socialpositives.com/2013/10/difference-between-java-and-javascript/
 
Marshal
Posts: 79179
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Boni Satani wrote: . . . While most of the people assume that there is no difference between Java and JavaScript, in reality they are totally different from each other. . . .

I thought everybody knew Java and JavaScript were completely different.

Java is . . . based on the C language. . . .

I know a lot of people think that, but they are completely different languages which happen to share similar syntax.

This sort of post would fit better into a different forum. Moving
 
Bartender
Posts: 1810
28
jQuery Netbeans IDE Eclipse IDE Firefox Browser MySQL Database Chrome Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I heard a quote that sums it up nicely. "Java is to Javascript what ham is to hamburger."
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic