0

What's the different btwn JS n Java ?! Who is the best n useful

4th Apr 2017, 3:36 PM
Midou Chico
Midou Chico - avatar
3 Réponses
+ 3
Both "Java" and "JavaScript" are trademarks or registered trademarks of Oracle in the U.S. and other countries. However, the two programming languages have very different syntax, semantics, and uses. JavaScript (JS) is a lightweight interpreted or JIT-compiled programming language, is most well-known as the scripting language for Web pages, many non-browser environments also use it, such as node.js and Apache CouchDB. JavaScript is a prototype-based, multi-paradigm, dynamic language, supporting object-oriented, imperative, and declarative (e.g. functional programming) styles, and the file extension is *.js. JAVA programming language is a high level language, all its source code is first written in plain text files ending with the .java extension. Those source files are then compiled into .class files by the javac compiler. A .class file does not contain code that is native to your processor; it instead contains bytecodes — the machine language of the Java Virtual Machine1 (Java VM). The java launcher tool then runs your application with an instance of the Java Virtual Machine, means the code can run on all platforms that support Java without the need for recompilation.
4th Apr 2017, 4:25 PM
John Watson
John Watson - avatar
+ 2
javascrit is client side langage. Js is executed by Web browser. Java is binari langage is compiling and executed by a Java Virtual Machine (jre). What do you want to program?
4th Apr 2017, 3:51 PM
Arnaud Perdoux
Arnaud Perdoux - avatar
+ 1
tnx ! @arnaud perdoux I'm a beginner still learning I don't ev something to do yet,
4th Apr 2017, 4:27 PM
Midou Chico
Midou Chico - avatar