+ 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! đđ
7 Answers
+ 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.
+ 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.
+ 5
@farshad... ok..thanks! ... so , for browser games , JavaScript,HTML,etc..are used..while for Android apps/games , Java is used? is that right??
+ 3
Java is't only for android ,but JavaScript is only for web!
+ 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.
+ 1
Thank
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..