Why JAVASCRIPT not Java, confused😨 | Sololearn: Learn to code for FREE!

+7

Why JAVASCRIPT not Java, confused😨

I cant really tell the difference between JavaScript and java.

5/10/2018 11:54:54 AM

Sanjeet

9 Answers

New Answer

+11

Javascript was originally something called Mocha, under a company named Netscape. It changed its name to Livescript, and eventually Javascript when Sun made a license agreement with Netscape. JS and Java are not the same, they just have similar names because they are both under the same company -- Oracle. JS is mostly used for web development. Java is more general-purpose but it's most common use is for software development and embedded applications.

+10

JavaScript for web Java for application developments

+6

How is 🔺JavaScript 🔺different from Java? The JavaScript programming language, developed by Netscape, Inc., is not part of the Java platform. JavaScript does not create applets or stand-alone applications. In its most common form, JavaScript resides inside HTML documents, and can provide levels of interactivity to web pages that are not achievable with simple HTML. Key differences between Java and JavaScript: Java is an OOP programming language while Java Script is an OOP scripting language. Java creates applications that run in a virtual machine or browser while JavaScript code is run on a browser only. Java code needs to be compiled while JavaScript code are all in text. They require different plug-ins. For additional information about JavaScript, visit Mozilla.org https://www.java.com/en/download/faq/java_javascript.xml https://www.codecademy.com/en/forum_questions/4fe46886d5de070003017288

+6

javascript is entirely different from java. javascript is used for web design or program while java is used for application development or modification

+2

java for application development and javascript for web

+1

JavaScript - more often on websites. Java - general purpose programming language.

+1

I knew JS before, then took a look at Java, and was lost. It took a lot of learning, they are completely different, but with similar names. A cop is a person, but copper is a metal, think about it like that. They both exist, but cops don't conduct electricity.

+1

java is OOP programming language and used for application development while javascript is an OOP scripting language, used for web development and is a part of html.

+1

Java and JavaScript are different programming languages. People often get confused because of the names. Java is for backend development whereas javascript is for frontend developer. The syntax and keywords like for while etc are almost same in java and JS Java is a very strongly typed object oriented language that derives from a C heritage. Often used for backend development. It is a compiled language. Every module gets compiled into a .class file. It offers true object orientation and so it’s variables are strongly typed. This means, for example, that the compiler won’t let you compare a String and an int, or an int and a Boolean. Java Script is not same as Java. In a 2-tier architecture, i.e., a Cliemt-Server architecture there are two parts, one is the client(eg:-home computer) and other is the server(eg-DHCP server of your ISP). JavaScript is mainly used for client side scripting.It is a scripting language. Webpages is basically designed using HTML, but HTML can’t perform any logical or mathematical operations so to make it do that we use Java Script. It is also used for validation purpose. Key differences between Java and JavaScript: Java is an OOP programming language while Java Script is an OOP scripting language. Java creates applications that run in a virtual machine or browser while JavaScript code is run on a browser only. Java code needs to be compiled while JavaScript code are all in text. They require different plug-ins http://net-informations.com/java/cjava/jscript.htm