Whether JS is Java? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

Whether JS is Java?

Please reply

15th Dec 2020, 12:36 PM
Carbon dioxide
Carbon dioxide - avatar
7 Answers
+ 9
There's no Java in Javascript just as there's no car in carpet.
15th Dec 2020, 10:20 PM
Sonic
Sonic - avatar
+ 6
JavaScript is totally different from java Differences Java - main method is called by the developer Javascript - main method is called by the system. Java - requires semi colon at the end of each statement; JavaScript - doesn't require any semi colon Similarities Comments are the same in both java and javascript. Uses Java is mainly used to make Andriod apps, e.t.c... Javascript is one of the best languages ever, ever since node.js Javascript is the soul of every website there is, it deals with the behaviour of the website, Not only that!!!!😲😲😲 You can use JavaScript to make andriod, ios, and desktop apps. Awesome right if i were u i would learn javascript.I just love it👍👍. Message me to learn node.js after taking sololean's JavaScript course. I have a nice full video of node js on udemy it's priced but worth it. It was made by Andrew mead.
15th Dec 2020, 9:14 PM
John Daniels
John Daniels - avatar
+ 5
JS and Java have a slightly similar syntax based on C language like syntax.
15th Dec 2020, 10:21 PM
Sonic
Sonic - avatar
+ 5
Thank you for the answer everyone, your answer adds to my knowledge. I say thank you everyone...
16th Dec 2020, 7:25 AM
Carbon dioxide
Carbon dioxide - avatar
+ 3
What is the difference things between JS and Java ?
15th Dec 2020, 1:02 PM
Carbon dioxide
Carbon dioxide - avatar
+ 2
Why i asked that question earlier ? Because I haven't studied the JS and Java themes. So I asked the question earlier...
15th Dec 2020, 1:20 PM
Carbon dioxide
Carbon dioxide - avatar
+ 2
Well. Java and Java Script are tottaly different languages. Java was made by a company Called Sun at 90's with the motte: "Write once, runs everywhere." Java was made to write complex softwares that could be used on any device without need to compile the source code twice. (like you need to do with C and C++ for example). On the the other side Java Script was made also on 90's by a Netscape (browser) member as a scripting languange(Just to run on client side and inside the web browser), at the time focused Just to make websites more enjoyable..beautiful and to improve the WEB experience for the user. Java and Java Script have almost nothing in common but the Name. Today, almost 30 years after the invention of Javascript it's one of the most powerful languages of the present. But it started as a simple script language called Mocha. (They quickly changed the Name for Javascript.)
15th Dec 2020, 10:44 PM
Davi Zaiden
Davi Zaiden - avatar