Custom Search

Monday, May 23, 2011

Java V.S. JavaScript

In this post we will be covering the difference between Java and JavaScript.  If you want the simple answer here it is, Java and JavaScript are two completely different things!  Java is a computer programming language to build computer applications.  JavaScript is also a computer programming language but that's where the similarities end.  JavaScript is used inside of web site coding to add additional features such as surveys while Java is used to build applications.

Both languages are OOP (object oriented programming) but JavaScript was developed by Netscape and was originally called LiveScript.  On the other hand Java was invented by James Gosling at Sun micro systems.  Another difference is that while Java can stand on its own, JavaScript(or LiveScript) needs to be placed within and HTML document to function at all.  LiveScript was renamed JavaScript because at the time of creation Java was(and still is) one of the most popular coding languages.   So JavaScript replaced the name of LiveScript for marketing reasons.

So for those of you who have heard of Java and JavaScript I hope this post clears up the confusion.  JavaScript is a web site code script and is dependant on HTML(hyper link mark-up language) to run.  Java can stand alone and is used to build applications.  Java and JavaScript are completely different!

If you have any questions on Java V.S. JavaScript feel free to leave a comment.  Also if you have an idea for a future post feel free to leave a comment.  Well, that wraps it up for this post, see you in the next!

No comments:

Post a Comment