what is diffrence between java and javascript? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

what is diffrence between java and javascript?

25th Aug 2016, 8:48 PM
Ismail Ahmed khalif
Ismail Ahmed khalif - avatar
6 Answers
+ 9
Java and JavaScript were intended, by the developers of Netscape, to be complementary, with mechanisms to invoke methods on Java objects from JavaScript and JavaScript from Java embedded in the browser.  The third edition of O'Reilly's JavaScript book has an entire chapter (Chapter 20) on LiveConnect, the Netscape technology developed to link Java and JavaScript within the browser.  (Note the relationship between LiveConnect and LiveScript, the original name of JavaScript.)  However, this mechanism never saw a whole lot of use, and is mainly a historical curiosity.  Netscape's decision to rename LiveScript to JavaScript was a marketing strategy, but was grounded in the idea that a web app developer could use JavaScript to make embedded Java applets more useful, by making it possible for the applet to interact with the document in which it was embedded, and with the browser more generally. Answer by Kelly Martin from Quora
25th Aug 2016, 11:15 PM
WPimpong
WPimpong - avatar
+ 2
Java is a language when JavaScript is a scripting language. JavaScript is used for put validations like email, password length etc. while Java is used for make web applications, mobile applications and desktop applications. we can use JavaScript in HTML, Java etc. hope you understand.
30th Aug 2016, 12:46 PM
pranat damani
pranat damani - avatar
0
I think JavaScript for internet pages.
25th Aug 2016, 10:13 PM
Mohammed Ghaith AL-Mahdawi
Mohammed Ghaith AL-Mahdawi - avatar
0
javascript is an object-oriented computer programming language commonly used to create effects within web browsers.
4th Sep 2016, 12:52 PM
Savi Stark
Savi Stark - avatar
0
In summary, Java programs need to compile and run by the Java Virtual machine while java scripts can be embedded to HTML codes for data validation and without compilations. Java scripts can run on different internet browsers like google chrome or firefox. Java scripts can easily implements without programming skills.
15th Sep 2016, 2:40 AM
Gerald Bulacan
Gerald Bulacan - avatar
0
good joob
28th Sep 2016, 12:08 PM
Hamayat Ullah
Hamayat Ullah - avatar