0
What's the different btwn JS n Java ?! Who is the best n useful
3 ответов
+ 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.
+ 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?
+ 1
tnx ! @arnaud perdoux
I'm a beginner still learning I don't ev something to do yet,