Difference between Java nad JavaScript in SHORT | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Difference between Java nad JavaScript in SHORT

I would like to have a short and simple explanation, where the biggest differences are and what that means.

22nd Aug 2017, 7:46 PM
Jayzn
Jayzn - avatar
6 Answers
+ 5
and also in deeper inspe tion they are different syntax guys ;) (for example functions definitions).
22nd Aug 2017, 8:36 PM
Highman
Highman - avatar
+ 4
Java is an OOP programming language. Java code needs to be compiled. Java  run in a virtual machine. Java is a general purpose programming language designed with one mantra in mind. ******* JavaScript code is run on a browser only.  javascript is an OOP scripting language.  JavaScript code are all in text.  javascript is considered one of the big three core components (html, css) of the web.
22nd Aug 2017, 8:12 PM
saeed Fatemi
saeed Fatemi - avatar
+ 4
They are totally different languages, use in different applications. Please dont try to compare them. https://code.sololearn.com/WXpOiMS000u0/?ref=app
23rd Aug 2017, 12:15 AM
Calviղ
Calviղ - avatar
+ 2
Java - global purpose language. You can code almost everything. JS - client side scripting language. It's mainly Web Front End oriented.
22nd Aug 2017, 8:18 PM
Boris Batinkov
Boris Batinkov - avatar
+ 1
Thx to you all! I was confused because I first didn't know they are 2 different things and I learned Java on Sololearn and JS on Py. Also the descriptions sound the same at Sololearn.
23rd Aug 2017, 5:20 AM
Jayzn
Jayzn - avatar
+ 1
@Jayzn Don't worry, I know you are new. In fact, there are so so many newbies ask the similar question. I advise you to search Q&A questions or Google it first, before asking some basic questions here.
23rd Aug 2017, 5:36 AM
Calviղ
Calviղ - avatar