+ 5

Difference between Java and JavaScript?

I'm very new to all these programming languages..and had a question..what is the difference between Java and JavaScript?? And which if this is used to Make websites or apps/games?? Thanks in Advance! PS:- Read some QnA's.. and found that we have a very helpful and Lovely community here! Looking forward to be a part of it! 😊😊

16th Jul 2017, 7:10 PM
Soham Pawgi
Soham Pawgi - avatar
7 Réponses
+ 9
Basically they are not related. Javascript is used in web development and runs on browsers (including games too). Java is much more complicated langues used on more than a billion devices (including android phones) and for both front-end and back-end side (servers). Javascript is easier to learn but needs an understanding of html and css.
16th Jul 2017, 7:36 PM
Farshad
Farshad - avatar
+ 6
welcome friend. yeah, exactly. There are also other ways to develop games for websites (like flash games), but as it goes for java and javascript this is the deal.
17th Jul 2017, 1:39 AM
Farshad
Farshad - avatar
+ 5
@farshad... ok..thanks! ... so , for browser games , JavaScript,HTML,etc..are used..while for Android apps/games , Java is used? is that right??
17th Jul 2017, 1:26 AM
Soham Pawgi
Soham Pawgi - avatar
+ 3
Java is't only for android ,but JavaScript is only for web!
18th Sep 2017, 6:14 PM
liuguowang_75
liuguowang_75 - avatar
+ 2
Java is an object oriented programming language. JavaScript is an object based programming language.  Java creates application that can run in a virtual machine or browser.  JavaScript code run on browser only.  Java code is compiled.   JavaScript is interpreted.  Java code allows programmer full functionality and needs to be compiled.  JavaScript code contains limited number of commands and features.  The first name of Java was OAK and was developed by James Gosling , Sun MicroSystems.  JavaScript was earlier known as ECMAScript and was developed by Brendan Eich ,Netscape.  Java is high-level, static,compiled and strongly type language.  JavaScript is text based , dynamic and weakly typed language. These are some difference between java and java scripts you can find more here http://crbtech.in/Java-Training/9-distinguishing-factors-javascript-java/ go through it.
19th Sep 2017, 8:33 AM
mayur kohli
mayur kohli - avatar
+ 1
Thank
4th Nov 2020, 5:05 PM
Maslax Mohamud
Maslax Mohamud - avatar
0
they are not related at all..java is used mostly on making android apps and softwares..but java script is used on websites to make a web look more nicer..
5th Nov 2017, 2:04 PM
Razak Jabe Mwapachu
Razak Jabe Mwapachu - avatar