+ 2
What's the difference, if there is any?
The solo learn app has separate courses for java and javascript. i really thought java was just an abbreviation of JS. Is it more like the relation of HTML to HTML5 or CSS to CSS3?
2 Answers
+ 17
The only thing Java and JavaScript have in common is their names. Java is a general-purpose, object-oriented programming language, while JS is a scripting language used in web-development alongside HTML and CSS.
Java is used toĀ create applications which run via a virtual machine or browser, while JSĀ code is run on a browser only.Ā JavaĀ code needs to be compiled whileĀ JS code doesn't.
+ 3
Thanks appreciate the insight.